-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Description
TanStack Table version
v7.3.2
Framework/Library version
v18.3
Describe the bug and the steps to reproduce it
I am trying to implement a "toggle collapse header group" functionality:
- say I have a table with a header, for example like the docs resizing demo :

- I want to collapse this header (we can imagine a little button at the left of the "Info" text)
- This way the "Info" header width is reduced, and the subheader width is reduced too, like this for example :

So it keeps the first subheader column, or maybe we can imagine a placeholder column to represents this collapse.
Very important, I need to keep the visibleColumns
state independent, because in my app this collapsed columns can't be considered as hided (in the way Tanstack table considered hided columns), but really as collapsed.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Metadata
Metadata
Assignees
Labels
No labels