table
table copied to clipboard
How to flatten then group
Describe the bug
I have a use case where I need to use the expanding feature to render tablerows as a treegrid. In addition, I have a requirement to group rows. Atm if I try to group on a column, the subrow value is ignored, it seems to just group on the parent value and then still shows the child as a subrow under that grouped parent.
Is there anyway to force the grouping to occur on the flattened rows? i.e in grouping mode i want to flatten the table, and then group it.
Any help would be appreciated.
Your minimal, reproducible example
N/A
Steps to reproduce
attempt per above
Expected behavior
not really a bug more of question so N/A
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
N/A
react-table version
latest
TypeScript version
No response
Additional context
No response
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.