Skip to content

onDragOut

fires when a dragged element is moved outside of the droppable area

function onDragOut(
// the drag-n-drop context
context: object,
// an HTML event object
native_event: Event
): void
dgrid.attachEvent("onDragOut", function(context, native_event){
//... some code here ...
});

The drag-and-drop context can have the following properties:

  • from - the source object
  • to - the target object
  • source - the ID of the dragged item(s)
  • target - the ID of the drop target, null for drop on empty space
  • start - the ID from which drag-and-drop was started

Articles

API