onAfterAutoSchedule

fires when autoscheduling is done

void onAfterAutoSchedule(string|number taskId,array updatedTasks){ ... };

Parameters

taskIdstring|numberthe root task id
updatedTasksarrayan array with the ids of rescheduled tasks

Available only in PRO Edition

Example

gantt.attachEvent("onAfterAutoSchedule",function(taskId, updatedTasks){
    // any custom logic here
});

Related samples

Details

This functionality is available in the PRO edition only.

This event is defined in the auto_scheduling.js extension, so you need to activate the auto_scheduling plugin. Read the details in the Auto Scheduling article.

See also
Back to top