New to Kendo UI for Angular? Start 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
| Name | Type | Default | Description |
|---|---|---|---|
editService |
|
Specifies the handlers called on drag-and-drop |