table icon indicating copy to clipboard operation
table copied to clipboard

Use columnOrder and initialize it, then the group column is always at the end

Open Shen120 opened this issue 2 years ago • 2 comments

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.

Shen120 avatar May 24 '23 01:05 Shen120

I have the same issue, Did you resolve it? @Shen120

nurbek-mirai avatar May 23 '24 02:05 nurbek-mirai

Having the same problem unfortunately. Any ideas on how to solve this?

ky-zo avatar Feb 22 '25 08:02 ky-zo