table icon indicating copy to clipboard operation
table copied to clipboard

Feature: maxWidth prop for table column

Open Ke1sy opened this issue 9 months ago • 0 comments

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

Ke1sy avatar Apr 18 '25 15:04 Ke1sy