Skip to content

AnalyticalTable: How to Automatically Size Columns to Fit Cell Control? #3844

Closed Answered by Lukas742
albert-li-fioneer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @albert-li-fioneer

the Grow and Smart mode only work for cells with plain text as content. I see that our documentation is currently not clear enough about this, so I created a PR to describe it better. Cells with content other than text are ignored, that's why in your case only the header text was taken into account and therefore "PCD" is, for example, much more narrow than "EXPIRY_DATE".
When you're using components as content it's in most cases recommended to set a width or maybe even a minWidth.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@albert-li-fioneer
Comment options

@Lukas742
Comment options

Answer selected by albert-li-fioneer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants