table icon indicating copy to clipboard operation
table copied to clipboard

Selection of subrows not working correctly

Open simcha90 opened this issue 1 year ago • 2 comments

TanStack Table version

8.13.2

Framework/Library version

18.2.0

Describe the bug and the steps to reproduce it

  1. Select first collapsed row
  2. Expand it
  3. Start unselect sub rows

Bug 1. Main rows still shows selected

  1. 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.

simcha90 avatar Mar 17 '24 14:03 simcha90

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.

emseidov avatar Oct 17 '24 14:10 emseidov

as of August 2025 this is still an issue

RichardHpa avatar Jul 31 '25 23:07 RichardHpa