EditTemplateDirective

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

The template context contains the following fields:

  • formGroup—The current FormGroup. If you use the Grid inside Template-Driven Forms, it will be undefined.
  • rowIndex—The current row index. If inside a new item row, rowIndex is -1.
  • dataItem—The current data item.
  • column—The current column instance.
  • isNew—The state of the current item.

Selector

[kendoGridEditTemplate]