Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] 拖拽列后 instance 上的 columns 顺序期望可以获取到 #986

Closed
LiChangyi opened this issue Jan 23, 2024 · 0 comments · Fixed by #1022
Closed

[refactor] 拖拽列后 instance 上的 columns 顺序期望可以获取到 #986

LiChangyi opened this issue Jan 23, 2024 · 0 comments · Fixed by #1022
Assignees
Labels

Comments

@LiChangyi
Copy link

Version

0.18.1

Link to Minimal Reproduction

Steps to Reproduce

Current Behavior

如表格具有的列的顺序是 A(1,2,3, 4 ) 我拖动一列交换位置后列的顺序变成了 B(1,2,4,3)。但是使用 instance.columns 获取到的仍然是顺序 A。
由于无法获取拖拽后的顺序 B,所以会导致我们 updateOption 重载表格的时候,页面出现变动。

Expected Behavior

instance.columns 实时的获取当前的列信息。

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@LiChangyi LiChangyi added the bug Something isn't working label Jan 23, 2024
@fangsmile fangsmile self-assigned this Jan 24, 2024
@fangsmile fangsmile changed the title [Bug] 拖拽列后 instance 上的 columns 属性并不会改变 [refactor] 拖拽列后 instance 上的 columns 顺序期望可以获取到 Jan 24, 2024
fangsmile added a commit that referenced this issue Jan 26, 2024
fangsmile added a commit that referenced this issue Jan 26, 2024
@fangsmile fangsmile linked a pull request Jan 30, 2024 that will close this issue
21 tasks
@fangsmile fangsmile added refactor and removed bug Something isn't working labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants