Example of Edit Template in ASP.NET Core Tree Grid Control
This samples demonstrates the TreeGrid Cell Edit template feature. Using Cell Edit Template feature we have rendered the AutoComplete component for Task Name column.
DEMO
SOURCE
The cell edit template is used to add a custom component for a particular column by invoking the following functions:
create
- It is used to create the element at the time of initialization.write
- It is used to create the custom component or assign default value at the time of editing.read
- It is used to read the value from the component at the time of save.destroy
- It is used to destroy the component.
In this demo, we have rendered the AutoComplete component for �Task Name� column of TreeGrid using edit
property.
More information on the data binding can be found in this documentation section.