fires for each task which has been autoscheduled

void onAfterTaskAutoSchedule(Task task,Date start,Link link,Task predecessor);
taskTaskthe task object
startDatea new start date
linkLinkthe link object that creates the constraint
predecessorTaskthe predecessor task object

Available only in PRO Edition


gantt.attachEvent("onAfterTaskAutoSchedule",function(task, start, link, predecessor){
    // any custom logic here

Related samples


This functionality is available in the PRO edition only.

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

See also
Back to top