Example of Edit Template in React Tree Grid Component

/
/
EditTemplate

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.

More Details...

Loading....
Description

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


More information about Cell Edit template can be found in this documentation section.