TreeViewItemDragEndEvent

Represents the object of the onItemDragEnd event (see example).

NameTypeDefaultDescription

clientX

number

Provides the horizontal coordinate within the client area of the application at which the event occurred (as opposed to the coordinate within the page).

clientY

number

Provides the vertical coordinate within the client area of the application at which the event occurred (as opposed to the coordinate within the page).

item

any

The item that is dragged.

itemHierarchicalIndex

string

The hierarchical index of the dragged item. The indices are zero-based. The first root item has a 0 (zero) index. If the first root item has children, the first child acquires a 0_0 index and the second acquires a 0_1 index.

pageX

number

The X (horizontal) coordinate (in pixels) at which the event occured that is relative to the left edge of the entire document. pageX includes any portion of the document that is not currently visible.

pageY

number

The Y (vertical) coordinate (in pixels) at which the event occured that is relative to the whole document. pageY observes any vertical scrolling of the page.

target

TreeView

The target that is associated with the dragged item.