EditTemplateDirective

Represents the column edit-cell template of the TreeList (see example). Helps to customize the content of the edited cells. To define the cell template, nest an <ng-template> tag with the kendoTreeListEditTemplate directive inside a <kendo-treelist-column> tag.

The template context contains the following fields:

  • columnThe current column instance.
  • dataItemThe current data item.
  • cellContextAn object used to pass context information to built-in directives.
  • formGroupThe current FormGroup. If you use the TreeList inside Template-Driven Forms, it will be undefined.
  • isNewThe state of the current item.
  • rowIndexThe current row index. If inside a new item row, rowIndex is -1.

Selector

[kendoTreeListEditTemplate]

In this article

Not finding the help you need?