Closed tobiashochguertel closed 1 year ago
For some reason, this is how TanStack Table users expected the function to work because of indeterminate logic. You just also have to add a check for table.getIsAllRowsSelected()
For some reason, this is how TanStack Table users expected the function to work because of indeterminate logic. You just also have to add a check for
table.getIsAllRowsSelected()
ah! okay. Thanks. good to know. I will combine it with table.getIsAllRowsSelected()
material-react-table version
v.1.8.1
react & react-dom versions
v18.2.0
Describe the bug and the steps to reproduce it
When only one Row is existing in a table, and I select this row
getIsSomeRowsSelected
reports stillfalse
.Console.log:
Minimal, Reproducible Example - (Optional, but Recommended)
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms