[Feature] rowSeriesNumber设置拖拽时,希望将位置信息以及原来行数据和目标行数据通过回调函数暴露出来
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?
比如有两行数据,type不一致, 让用户通过拖拽,比如把type=2的拖到type=1上面, 我通过拖拽毁回调强制修改数据。其他的比如文件移动等等都可以自定义实现了。
What does the proposed API look like?
onStart, onDrag, onEnd(oldRow, targetRow, x, y位置,行列 ), 参数尽量全一点
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
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