New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core TreeList Editing
-
EXAMPLEVIEW SOURCE
- EDIT IN
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The Telerik TreeList for ASP.NET Core component supports a variety of editing options including an inline editing mode. Inline editing enables you to edit the data upon a row Edit button click and save the changes that have been made.
The ASP.NET Core TreeList supports the create, update, and destroy data-editing operations through a simple configuration of its data source:
- Set the
Editableconfiguration option of the TreeList. - Declare the
Model,ParentId,Expanded, andFielddefinitions through the DataSource. -
Configure the DataSource for performing CRUD data operations defining the
Create,Update, orDestroyoptions. To enable the insertion of new records, enable the relevant option in the toolbar. To delete items, include a Delete command column.
This example shows how to configure the TreeList for inline editing by setting the Editable Mode to inline.