table
table copied to clipboard
Selection of subrows not working correctly
TanStack Table version
8.13.2
Framework/Library version
18.2.0
Describe the bug and the steps to reproduce it
- Select first collapsed row
- Expand it
- Start unselect sub rows
Bug 1. Main rows still shows selected
- Unselect main row and start select subrows
Bug 2. Main rows shows unselected when other rows selected
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://tanstack.com/table/latest/docs/framework/react/examples/expanding
Screenshots or Videos (Optional)
https://github.com/TanStack/table/assets/56388545/6de2310f-093c-41e8-81f9-fb3d362c4a5e
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] 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.
The reverse of this action also doesn't work. For example, selecting all sub-rows should trigger parent row selection too, but it doesn't.
as of August 2025 this is still an issue