DragAndDropEventArgs

Interface represents the event arguments for the nodeDragging, nodeDragStart, nodeDragStop and nodeDropped event.

Properties

cancel Boolean

Gets or sets a value indicating whether we should cancel the operation or not.

clonedNode HTMLElement

Gets the cloned Html element of the element being dragged.

draggedNode HTMLLIElement

Gets the HTML element for the node that was dragged.

draggedNodeData {:}

Gets the data model for the node that was dragged.

draggedParentNode Element

Gets the parent node element for the node that was dragged.

dropIndex Number

Gets the element target index position within the treeview.

dropIndicator String

Gets the cloned element's drop status icon while it is being dragged.

dropLevel Number

Gets the element target level within the treeview.

droppedNode HTMLLIElement

Gets the HTML element for the node that was dropped.

droppedNodeData {:}

Gets the data model for the node that was dropped.

dropTarget Element

Gets the dragging element's destination parent element.

event MouseEvent TouchEvent

Gets the original triggered event arguments.

name String

Gets the name of the event.

nodeData DropPosition

Gets the expanding/collapsing node data model.

preventTargetExpand Boolean

Gets or sets a value indicating whether to prevent the target node from expanding.

target HTMLElement

Gets the target element from which the drag started and ended.