Skip to content

Feature: maxWidth prop for table column #1257

@Ke1sy

Description

@Ke1sy

I’d like to suggest adding a maxWidth property to the column definition in rc-table. This would allow developers to set an upper limit on how wide a column can grow, which is especially useful when dealing with content like long strings.

Image

At the moment, rc-table supports width and minWidth for column sizing, but there is no support for maxWidth. This makes it difficult to constrain columns when flexible layouts are needed.

Has anyone previously explored adding maxWidth support or worked around this limitation? Are there any known reasons this hasn’t been implemented?

Would you accept such a pull request?

ref: UIEN-7296

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions