启用“branch”模式,允许任务在整个甘特图中任意位置重新排序
// 在相同嵌套层级内重新排序任务 gantt.config.order_branch = true; // 在整个甘特图中任意位置重新排序任务 gantt.config.order_branch_free = true; gantt.init("gantt_here");