Search results

Edit API in JavaScript 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

updateClientDataFromServer

Method to update the values to client side from server side.

Parameter Type Description
e Object Defines the new modified data from the server.
args ITaskAddedEventArgs Defines the client side data.

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

Parameter Type Description
currentData IGanttData .
column string .

Returns void

updateTaskId

Method to update TaskID of a gantt record

Parameter Type Description
currentId string | number .
newId number | string .

Returns void