You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to set a max width for the table (all columns). And I don't want to over-complicate it by adjusting the maxSize of each column after resizing. Is this possible ? It looks very simple but I found out it's challenging.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set a max width for the table (all columns). And I don't want to over-complicate it by adjusting the maxSize of each column after resizing. Is this possible ? It looks very simple but I found out it's challenging.
Maybe I need to use
oncolumnsizingchange
? https://tanstack.com/table/v8/docs/api/features/column-sizing#oncolumnsizingchangeBut I don't find an example to demonstrate how can I use it.
Any idea ?
Beta Was this translation helpful? Give feedback.
All reactions