Skip to content

Feature: maxWidth prop for table column #1257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ke1sy opened this issue Apr 18, 2025 · 0 comments
Open

Feature: maxWidth prop for table column #1257

Ke1sy opened this issue Apr 18, 2025 · 0 comments

Comments

@Ke1sy
Copy link

Ke1sy commented Apr 18, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant