DragAndDropDirective
Represents the directive that enables you to drag and drop items inside the current TreeView or between multiple linked TreeView component instances (see example).
Triggers the nodeDragStart,
nodeDrag,
nodeDrop,
nodeDragEnd,
addItem and
removeItem
events when you perform the corresponding actions.
<kendo-treeview
kendoTreeViewDragAndDrop
[dropZoneTreeViews]="treeView"
>
</kendo-treeview>
Selector
[kendoTreeViewDragAndDrop]
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
allowCopy |
|
|
Specifies whether the |
autoScroll |
|
|
Controls the auto-scrolling behavior during drag-and-drop (see example).
Enabled by default. To turn off auto-scrolling, set this property to By default, scrolling occurs by 1 pixel every 1 millisecond when the dragged item reaches the top or bottom of the scrollable container.
You can override the |
dropZoneTreeViews |
|
Specifies the | |
startDragAfter |
|
|
Specifies the distance in pixels from the initial item |