ReactiveEditingDirective
Directive
A directive that encapsulates the editing operations of the TreeList when using the Reactive Forms. See example.
Definition
Package:@progress/kendo-angular-treelist
Selector:[kendoTreeListReactiveEditing]
Export Name:Accessible in templates as #kendoTreeListReactiveEditingInstance="kendoTreeListReactiveEditing"
Syntax:
html
<kendo-treelist [kendoTreeListReactiveEditing]="createFormGroup">
<kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
<kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
</kendo-treelist>
Inputs
The edit service that handles the operations.
The function that creates the FormGroup for the edited model.
newItemId
(item: any, parent: any) => any
Gets or sets a function that determines the unique identifier
for new items. The function receives the item and its parent as parameters
and must return an ID.
A function that confirms if the dataItem will be removed.