New to Kendo UI for Angular? Start a free 30-day trial

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:

  • formGroupThe current FormGroup. If you use the Grid inside Template-Driven Forms, it will be undefined.
  • rowIndexThe current data row index. If inside a new item row, rowIndex is -1.
  • dataItemThe current data item.
  • columnThe current column instance.
  • isNewThe state of the current item.

Selector

[kendoGridEditTemplate]

In this article

Not finding the help you need?