Search results

Edit API in Angular Gantt API component

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

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