New to Kendo UI for AngularStart a free 30-day trial

TemplateEditingDirective

A directive which encapsulates the editing operations of the TreeList when using the Template-Driven Angular Forms (see example).

Selector

[kendoTreeListTemplateEditing]

Export Name

Accessible in templates as #kendoTemplateEditingInstance="kendoTreeListTemplateEditing"

Inputs

NameTypeDefaultDescription

kendoTreeListTemplateEditing

Function

The function that creates the dataItem for the new rows.

editService

EditService

The edit service that will handle the operations.

newItemId

(item: any, parent?: any) => any

Gets or sets a function that will be called to determine the unique identifier for new items. The function receives the item and its parent as parameters and must return an ID.

removeConfirmation

RemoveConfirmationCallback

A function that is called to confirm if the dataItem will be removed.

In this article
SelectorExport NameInputs
Not finding the help you need?
Contact Support