Example of undefined in React Tree Grid Component


This sample demonstrates CRUD operations in Tree Grid. You can perform CRUD operations as follows,

  • Add - To add new record, click Add toolbar button{" "}
  • Edit - To edit record, double click a row or click toolbar Edit button after selected a row{" "}
  • Delete - To delete record, click toolbar Delete button after selected a row{" "}
  • Update,Cancel - You can save or discard changes by click toolbar Update and cancel button respectively
  • Indent - Indents the record to one level of hierarchy.
  • Outdent - Outdent the record to one level of hierarchy.
More Details...


The Tree Grid supports CRUD operations. This CRUD operations can be configured in Tree Grid using editSettings. Also, it has different modes to manipulate the datasource.

  • Row
  • Cell
  • Dialog

In this demo, Row mode is enabled for editing by default. You can start editing any row by double clicking on it or clicking on toolbar’s Edit button, then the currently selected row will be changed to edited state. You can change the row values and save edited data to the datasource.

We have also provided an option in property panel to select the edit mode as Cell or Row to change mode of editing.

Injecting Module:

Tree Grid features are segregated into individual feature-wise modules. To use editing feature, we need to inject Edit module into the services.

To use indent and outdent feature, we need to inject RowDD module into the services.

More information on the selection configuration can be found in this documentation section.