Skip to content

fix: preserve filter column order after header drag#5142

Open
fangsmile wants to merge 4 commits into
developfrom
fix/issue-5137-filter-column-order
Open

fix: preserve filter column order after header drag#5142
fangsmile wants to merge 4 commits into
developfrom
fix/issue-5137-filter-column-order

Conversation

@fangsmile
Copy link
Copy Markdown
Contributor

Summary

  • sync dragged header order back to internalProps.columns and options.columns
  • make FilterPlugin prefer the current table column order and keep options.columns as the BEFORE_INIT fallback
  • add regression tests and a dedicated issue-5137 repro demo under vtable-plugins/demo/filter

Verification

  • npx jest filter-plugin.test.ts --runInBand --silent --coverage=false
  • manual verify in vtable-plugins demo issue-5137

Fixes #5137

@fangsmile fangsmile force-pushed the fix/issue-5137-filter-column-order branch from 1e851e9 to e197017 Compare May 19, 2026 06:46
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 this pull request may close these issues.

[Bug] ListTable先隐藏列,再拖拽排序,再执行Filter或更新列信息时,列顺序出现混乱

1 participant