跳到主要内容

autoSchedule

信息

此功能仅在 PRO 版中可用。

Description

重新计算项目的进度安排

autoSchedule: (taskId?: string | number) => void

Parameters

  • taskId - (optional) string | number - 任务 ID

Example

gantt.autoSchedule();

Details

要为一组相互关联的任务重新计算进度,请将该组中某个任务的 ID 作为参数传递给 autoSchedule() 方法:

gantt.autoSchedule(taskId);
注释

此方法需要在页面上引入 auto_scheduling 插件。

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.