• All Demos
  • Grid SDK
  • Chart SDK
  • Scheduler SDK
  • Gantt SDK
  • Rich Text Editor SDK
  • Diagram SDK
  • File Manager SDK
  • Document SDK
  • PDF Viewer SDK
  • DOCX Editor SDK
  • Spreadsheet Editor SDK
  • Material 3
  • Bootstrap 5
  • Fluent 2
  • Tailwind CSS
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Inline Editing in ASP.NET Core Tree Grid Control

This sample demonstrates CRUD operations in TreeGrid. 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.
DEMO
SOURCE

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

The available modes are,

  • Row
  • Cell
  • Dialog
  • Batch

In this demo, Row mode is enabled for editing. 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.


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

Looking for the full ASP.NET Core Tree Grid component overview, features, pricing, and documentation? Visit our ASP.NET Core Tree Grid component page.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab