Search results

Static Functions API in JavaScript (ES5) TreeGrid API control

Root static functions of Treegrid Component

addAction

Performs Add action to Tree Grid data source

Parameter Type Description
details Object Gets modified record value and CRUD action type
treeData Object[] Tree Grid data source
control TreeGrid Tree Grid instance
isSelfReference boolean Denotes whether Self Referential data binding
addRowIndex number New add row index
selectedIndex number Selected Row index
addRowRecord ITreeData Newly added record

Returns Object

editAction

Performs CRUD update to Tree Grid data source

Parameter Type Description
details Object Gets modified record value and CRUD action type
control TreeGrid Tree Grid instance
isSelfReference boolean Denotes whether Self Referential data binding
addRowIndex number New add row index
selectedIndex number Selected Row index
columnName (optional) string Column field name
addRowRecord (optional) ITreeData Newly added record

Returns void