autoSchedule
info
This functionality is available in the PRO edition only.
Description
Recalculates the schedule of the project
autoSchedule: (taskId?: string | number) => void
Parameters
taskId- (optional) string | number - the task id
Example
gantt.autoSchedule();
Details
To recalculate the schedule for a group of linked tasks, pass the id of one of the tasks in this group as an argument to the autoSchedule() method:
gantt.autoSchedule(taskId);
note
The method requires the auto_scheduling plugin to be included on the page.