TanStackT
TanStack2y ago
2 replies
safe-amethyst

How column width calculated 'under the hood'

I'm interested ho column width is calculated under the hood. F.e. I have a table with a width 100% of its parent container. I have 2 columns in the table. When I inspect them I see that they have different values of width, but maybe If the content of any of the columns is not too wide, I expect to have 2 equal-width columns, but they are not.

What is the logic of calculating the width of columns?

Small reproducible example:
https://t.ly/g6yGw
Was this page helpful?