Example of Edit Template in ASP.NET MVC Tree Grid Control

This samples demonstrates the Tree Grid 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:

The available modes are,

  • 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 Tree Grid using edit property.

More information about Cell Edit template can be found in this documentation sectionopens in a new tab.

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