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

DragAndDropEditingDirective

Represents the directive that enables you to update the initially provided data array during drag-and-drop.

Use this directive with one of the data-binding directives (kendoTreeViewHierarchyBinding or kendoTreeViewFlatDataBinding), which set their own edit handlers, or provide your own editService to this directive.

Providing a custom editService allows you to handle the addItem and removeItem events when they are triggered by the TreeView component.

html
<kendo-treeview
  kendoTreeViewDragAndDrop
  kendoTreeViewDragAndDropEditing
  [nodes]="nodes"
  textField="text">
</kendo-treeview>

Selector

[kendoTreeViewDragAndDropEditing]

Inputs

NameTypeDefaultDescription

editService

EditService

Specifies the handlers called on drag-and-drop addItem and removeItem events.

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