New to Kendo UI for Angular? Start a free 30-day trial
TemplateEditingDirective
A directive that encapsulates the editing operations of the TreeList when using Template-Driven Angular Forms. See example.
html
<kendo-treelist [kendoTreeListTemplateEditing]="createNewItem">
<kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
<kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
</kendo-treelist>
Selector
[kendoTreeListTemplateEditing]
Export Name
Accessible in templates as #kendoTemplateEditingInstance="kendoTreeListTemplateEditing"
Inputs
Name | Type | Default | Description |
---|---|---|---|
kendoTreeListTemplateEditing |
|
The function that creates the | |
editService |
|
The edit service that handles the operations. | |
newItemId |
|
Gets or sets a function that determines the unique identifier
for new items. The function receives the | |
removeConfirmation |
|
A function that confirms if the |