onAfterTaskAutoSchedule

fires for each task which has been autoscheduled

void onAfterTaskAutoSchedule(object task,Date start,object link,object predecessor){ ... };

Parameters

taskobjectthe task object
startDatea new start date
linkobjectthe link object that creates the constraint
predecessorobjectthe predecessor task object

Available only in PRO Edition

Example

gantt.attachEvent("onAfterTaskAutoSchedule",function(task, start, link, predecessor){
    // 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