Replies: 1 comment
|
The difference between those two examples is intentional and comes down to CSS layout rather than different table options. TanStack Table is headless: the core engine only calculates numeric sizes ( Why the examples behave differently
Using performant resizing with full-width tablesIf you want a table that starts at full width but allows unconstrained column resizing without shrinking neighboring columns:
This gives you full-width layout initially while letting resized columns push the table width out into horizontal scroll instead of stealing width from adjacent columns. |
0 replies
注册 for free
to join this conversation on GitHub.
Already have an account?
登录 to comment
Uh oh!
There was an error while loading. Please reload this page.
https://tanstack.com/table/latest/docs/framework/react/examples/column-resizing-performant
https://tanstack.com/table/latest/docs/framework/react/examples/full-width-resizable-table?panel=sandbox
In the "column-resizing-performant" example, resizing a column
only affects the active column and changes the total table width.
In the "full-width-resizable-table" example, resizing a column
redistributes width across all columns, keeping the table width fixed.
Is this difference intentional?
If so, could the docs clarify which options control:
If not, this might be an inconsistency between examples.
All reactions