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
{{ message }}
Repository navigation
[v8] grouped row selection/deselection is not working properly #4349
When using the getGroupedRowModel, some of the selection behvaior seems to be off:
a) when using table.getToggleAllRowsSelectedHandler(), all rows get selected, but none of the grouped.
b) after manually selecting all groups (or when using table.getToggleAllPageRowsSelectedHandler()), when all rows are deselected, the groups remain selected.
c) when manually selecting all groups and rows, and then deselecting one row of a grouped row, then the group itself remains selected, but the table.getIsAllRowsSelected() checkbox gets deselected.
a) Toggle all selected row should toggle all selected rows
b) Toggling all rows should remove all selected columns
c) De-selecting one row in a selected group should put all selected rows to intermediate and the group into intermediate
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.
Reacted by Victor Turansky, Jiajun Chen, devarshiqm, Maria Adriana, Dan Alloway, frosted-bird, Manan Vaghasiya, Aleksandr Bezhan, Ruben Poppe, Mia and 2 more
Activity
ludydoo commentedon Feb 16, 2023
A workaround I found for this is to
info.table.toggleAllRowsExpanded()alexbezhan commentedon Apr 19, 2023
My workaround:
toggleAllRowsSelectedHandler()that uses expanded row modelgetIsAllRowsSelected()that uses expanded row modellattemisa commentedon Aug 15, 2023
Hello, I am still facing this issue, was this ever resolved?
KevinVandy commentedon Jul 27, 2026
Group-row selection IDs are independent by design. Descendant checkbox state is meant to be set via getIsAllSubRowsSelected/getIsSomeSelected