跳到主要内容

drag_multiple

Description

允许一次拖动多个已选任务

drag_multiple: boolean

Example

gantt.config.drag_multiple = false;
gantt.init("gantt_here");

Default value: true

Details

如果你选中了多个任务,但拖动一个未被选中的任务 - 只有未被选中的该任务会被移动。

你也可以通过将 drag_project 配置设置为 true 来启用项目的拖放。

gantt.config.drag_project = true;
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.