Example of Inline Editing in Blazor Tree Grid Component

Tree Grid / Editing / Inline Editing

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

  • Add - To add a new record, click Add toolbar button.
  • Edit - To edit a record, double-click a row or click Edit toolbar button after selecting a row.
  • Delete - To delete a record, click Delete toolbar button after selecting a row.
  • Update, Cancel - You can save or discard changes by clicking the Update and Cancel button toolbar respectively.
1 of 2 pages (3 items)
Properties
Edit Mode

TreeGridEditSettings can be used to configure CRUD operations in Tree Grid. It also has various modes for manipulating the datasource. The available modes are,

  • EditMode.Row
  • EditMode.Cell
  • EditMode.Dialog
  • EditMode.Batch

Row mode is enabled for editing by default in this demo. You can begin editing any row by double-clicking it or by clicking the toolbar's Edit button; the currently selected row will be changed to the edited state. You can edit the row values and save the results to the datasource.

More information about edit modes in tree grid can be found in the documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE