VisActor / VisActor/VTable

[Feature] 支持直接拖动列头进行列排序

Open
#4,994 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.