[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?
[Feature] 甘特图组件增加跨行拖动任务条的功能,现在只能在同一行左右拖动,现实业务场景中很多时候需要把第一行的任务条拖动到第三行或者第四行
What does the proposed API look like?
建议增加配置开工和拖动回调接口,允许后台逻辑在拖动的时候增加自定义逻辑判断,如果判断可以拖动到其他行则拖动过去,否则后台逻辑可以通过api接口禁止本次拖动
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 Gantt component and its existing same-row task-bar drag handling. Trace the drag lifecycle and current configuration or callback APIs, then define how cross-row movement is accepted or rejected; done means a task bar can move between rows when permitted and can be blocked by the application logic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100