autoSchedule

recalculates the schedule of the project

void autoSchedule( [string|number taskId] );

Parameters

taskIdstring|numberoptional, the task id

Available only in PRO Edition

Example

gantt.autoSchedule();

Details

To recalculate the schedule starting from a particular task, pass the id of the task as an argument to the autoSchedule() method:

gantt.autoSchedule(taskId);

This functionality is available in the PRO edition only.

The method requires the ext/dhtmlxgantt_auto_scheduling.js to be included on the page.

See also
Back to top