Root static functions of Treegrid Component
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
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