Static Functions
12 Sep 20252 minutes to read
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