VisActor / VisActor/VTable

[Feature] rowSeriesNumber设置拖拽时,希望将位置信息以及原来行数据和目标行数据通过回调函数暴露出来

Open
#3,363 2 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?

比如有两行数据,type不一致, 让用户通过拖拽,比如把type=2的拖到type=1上面, 我通过拖拽毁回调强制修改数据。其他的比如文件移动等等都可以自定义实现了。

What does the proposed API look like?

onStart, onDrag, onEnd(oldRow, targetRow, x, y位置,行列 ), 参数尽量全一点

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

The issue names rowSeriesNumber drag handling but no files, tests, or entry points. Review the existing drag lifecycle and callback API, then define how onStart, onDrag, and onEnd expose the old row, target row, and position information; done means callers can customize actions such as moving rows between different types.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.