Phase of the drag.
Pointer or keyboard.
The dragged row objects (tree: the TreeRows) in display order.
Display indices of the dragged rows when the drag started (ascending).
The current drop target – undefined if there is none (invalid, vetoed, outside the table).
Flat tables: display index of the first dragged row after the drop (0 = first row), -1 without target.
Trees: -1 before the move; in a managed "end" the index the row really got.
true if the pointer is outside the table – e.g. over an own drop zone of the page.
true if the table moves the rows itself (RowDragOptionsIf.managed).
Optional originalEvent: PointerEvent | KeyboardEventThe browser event behind this event (pointer or keyboard).
Readonly managedtrue if the table moves the rows itself (RowDragOptionsIf.managed).
true if the moved rows changed in the table (managed mode, "end", not prevented).
Optional Readonly originalThe browser event behind this event (pointer or keyboard).
Readonly outsidetrue if the pointer is outside the table – e.g. over an own drop zone of the page.
Readonly rowDisplay indices of the dragged rows when the drag started (ascending).
Readonly rowsThe dragged row objects (tree: the TreeRows) in display order.
Readonly sourcePointer or keyboard.
Readonly targetThe current drop target – undefined if there is none (invalid, vetoed, outside the table).
Flat tables: display index of the first dragged row after the drop (0 = first row), -1 without target.
Trees: -1 before the move; in a managed "end" the index the row really got.
Readonly typePhase of the drag.
true after preventDefault.
A row drag (EventListenerIf.onRowDragStart, EventListenerIf.onRowDragMove, EventListenerIf.onRowDragEnd).
Call preventDefault to veto: in
"start"no drag happens, in"move"the target is invalid (no drop marker, no drop). In managed mode"end"comes after the move (moved,toIndex= the real position).Example
Since
1.1.95