Search results

TaskProcessor API in JavaScript (ES5) Gantt API control

To calculate and update task related values

Methods

calculateAutoDuration

To calculate duration of Gantt record with auto scheduled start date and auto scheduled end date

Parameter Type Description
ganttProperties ITaskData Defines the gantt data.

Returns number

calculateDuration

To calculate duration from start date and end date

Parameter Type Description
ganttData IGanttData Defines the gantt data.

Returns void

updateDurationWithWork

Method to update duration with work value.

Parameter Type Description
ganttData IGanttData

Returns void

updateUnitWithWork

Update units of resources with respect to duration and work of a task.

Parameter Type Description
ganttData IGanttData

Returns void

updateWorkWithDuration

Method to calculate work based on resource unit and duration.

Parameter Type Description
ganttData IGanttData

Returns void