• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

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 section .