Skip to main content

resetProjectDates

info

This functionality is available in the PRO edition only.

Description

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

resetProjectDates: (task: Task) => void

Parameters

  • task - (required) Task - the task's object

Example

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

Details

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