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

Arguments for the TreeView nodeDrop event.

Definition

Package:@progress/kendo-angular-treeview

Methods

If the event is prevented by any of its subscribers, returns true.

Returns:

boolean

true if the default action was prevented. Otherwise, returns false.

Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.

Sets whether the drop action is valid. If set to false, the addItem and removeItem events will not be fired and the drag clue will animate back to the source item to indicate the action is invalid.

Parameters:isValidboolean

Properties

Lookup information for the item onto which the dragged item is dropped.

Reference to the TreeView onto which the dragged item is dropped.

Represents the drop position relative to the target item.

originalEvent

PointerEvent

The original pointer event containing details about the pointer position.

Lookup information for the dragged item.

Reference to the TreeView from which the dragged item originates.