resetProjectDates

re-calculates the duration of a project task depending on the dates of its children

void resetProjectDates(Task task);
taskTaskthe task's object

Available only in PRO Edition

Example

gantt.resetProjectDates(gantt.getTask(3));

Details

This functionality is available in the PRO edition only.

The method modifies the start_date, end_date and duration properties of the provided object.

See also
Back to top