table
table copied to clipboard
enableGrouping not working on table level
Describe the bug
Defining enableGrouping: false on table options doesn't do anything.
I want to default all columns to disable grouping and only enabling grouping when enableGrouping: true is defined in column.
Your minimal, reproducible example
https://codesandbox.io/s/busy-kirch-f9prci?file=/src/main.tsx
Steps to reproduce
I defined the table options with enableGrouping: false and the column I want to allow grouping with enableGrouping: true
Expected behavior
Only the the enabled column has grouping enabled.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
all
react-table version
8.8.2
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.
@yotamberk did you end up finding a fix? so far it seems enableExpanding: true, enableGrouping:true, doesnt do anything. im using 8.10.3 In some cases i need a tree grid, in others a grouped table.