Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#4,872 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu với bản tái hiện CodeSandbox được liên kết và kiểm tra cách columnOrder được khởi tạo cùng với cột nhóm trong ví dụ v8.9.1. Theo dõi hoạt động của thứ tự cột và nhóm, sau đó xác minh rằng việc khởi tạo columnOrder vẫn giữ nguyên vị trí đã cấu hình của cột nhóm, vốn không ở cuối.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
28.5k
Fork
3.6k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TanStack/table

Tất cả issue của TanStack/table

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.