Search results

Edit API in JavaScript (ES5) Gantt API control

The Edit Module is used to handle editing actions.

Methods

deleteRecord

Method to delete record.

Parameter Type Description
taskDetail number | string | number[] | string[] | IGanttData | IGanttData[] Defines the details of data to delete.

Returns void

indent

indent a selected record

Returns void

outdent

To perform outdent operation for selected row

Returns void

updateRecordByID

Method to update record with new values.

Parameter Type Description
data Object Defines new data to update.

Returns void

updateResourceRelatedFields

To update duration, work, resource unit

Returns void

updateTaskId

Method to update TaskID of a gantt record

Returns void