table
table copied to clipboard
Use columnOrder and initialize it, then the group column is always at the end
Describe the bug
When columns have a group column and the group column is in a non final position, and then initialize the columnOrder, you will find that the group column is always in the last position, even if you change the position of the group column; like this demo
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/falling-lake-cu3vtg
Steps to reproduce
Open the link to see
Expected behavior
The group column can be displayed in its normal position
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows - Chrome@latest
react-table version
v8.9.1
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.
I have the same issue, Did you resolve it? @Shen120
Having the same problem unfortunately. Any ideas on how to solve this?