KevinVandy/material-react-table

Total rows not tally when selecting rows when grouping is active

dafibh opened this issue · 0 comments

material-react-table version

v2.12.1

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

the easiest way is to test it on the demo on the website,
https://www.material-react-table.com/docs/examples/advanced

First, select some or all the rows to take note of the total rows available (the total is 128)
Screenshot 2024-08-28 at 10 43 07 AM

Next, apply grouping to the columns, it doesn't matter if you do it when some rows are selected or not.
Screenshot 2024-08-28 at 10 44 42 AM

Finally, select some rows (if none is currently selected) to take note of the new total rows available (now it is 384)
Screenshot 2024-08-28 at 10 45 52 AM

Adding more column to the grouping will further increase the total row count
Screenshot 2024-08-28 at 10 47 02 AM

Minimal, Reproducible Example - (Optional, but Recommended)

https://www.material-react-table.com/docs/examples/advanced

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.