Skip to content
Source
Sign inSign up
TanStack/table

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

OpenShen120(GitHub profile, opens in a new tab) opened this issue 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

  • I agree to follow this project's Code of Conduct
  • 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.
  1. nurbek-mirai(GitHub profile, opens in a new tab)commented

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

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

Sign in to join this conversation.