[Feature] 支持直接拖动列头进行列排序
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
目前必须先点击列头选中列,才能拖动列头进行列排序。希望可以支持直接拖动,简化操作。
https://github.com/user-attachments/assets/541dcbe3-2f02-4c9b-9a3c-e9a2af5f7a29
What does the proposed API look like?
{
dragOrder: {
dragImmediately: true
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing dragOrder configuration and the column-header drag interaction. Compare the current click-to-select-then-drag flow with the proposed dragImmediately option, and verify the change by testing that a column can be reordered directly from its header without prior selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100