LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


dragDrop(e)

Occurs when drag-drop operation completes and row is dropped in TreeGrid space.

Event Data

ParamTypeDetails
eObjectAn event object which contains data about drag-drop operation

Remarks

The following objects are carried with this event:

  • action - specifies whether row is moved or copied
  • cancel - determines whether drag drop is cancelled
  • dragRow - specifies an row(s) that is dragged
  • dropPos - specifies position at which dragged row can drop
    • 0 - row will drop as a child of target row
    • 1 - row will drop above target row
    • 2 - row will drop below target row
    • -1 - row will drop at the end of row collection of target component
  • event - general HTML5 drag drop event data settings
  • isDropAllowed - determines whether row can drop
  • mousePos - position of mouse cursor in page coordinates
  • sourceCtrl - a reference to a component from which drag drop operation has started
  • targetCtrl - a reference to a component over which dragged row is dropped
  • targetRow - specifies the row over which dragged row is positioned or dropped

For cancellation, set the cancel field from event data to true.

Version Information

Supported in: v1.0.

See Also