onAfterAutoSchedule

当自动排程过程完成时触发。

void onAfterAutoSchedule(string|number taskId,array updatedTasks);
taskIdstring|number根任务的ID
updatedTasksarray包含被重新排程任务ID的数组

Available only in PRO Edition

Example

gantt.attachEvent("onAfterAutoSchedule",function(taskId, updatedTasks){
    // 在这里插入您的自定义逻辑
});

Related samples

Details

此功能仅在PRO版本中可用。

此事件属于auto_scheduling扩展的一部分,因此请确保启用auto_scheduling插件。更多详情请参阅自动调度指南。

See also
Back to top