New to Kendo UI for Angular? Start a free 30-day trial
EditTemplateDirective
Represents the edit template of the ListView (see example).
Helps to customize the content of the edited items. To define the template, nest an <ng-template>
tag with the kendoListViewEditTemplate
directive inside a <kendo-listview>
tag.
The template context contains the following fields:
formGroup
—The currentFormGroup
.
If you use the ListView inside Template-Driven Forms, it will be undefined
.
itemIndex
—The current item index. If inside a new item,itemIndex
is-1
.dataItem
—The current data item.isNew
—The state of the current item.
Selector
[kendoListViewEditTemplate]