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 ext/dhtmlxgantt_auto_scheduling.js extension, so you need to include it on the page. Read the details in the Auto Scheduling article.

See also
Back to top