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

ReactiveEditingDirective

A directive which encapsulates the editing operations of the TreeList when using the Reactive Forms (see example).

Selector

[kendoTreeListReactiveEditing]

Export Name

Accessible in templates as #kendoReactiveEditingInstance="kendoTreeListReactiveEditing"

Inputs

NameTypeDefaultDescription

kendoTreeListReactiveEditing

CreateFormGroup

The function that creates the FormGroup for the edited model.

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

Not finding the help you need?