Skip to content

onBeforeDropOut

fires before a dragged element is released over the droppable area outside the source widget

function onBeforeDropOut(
// the drag-n-drop context
context: object,
// an HTML event object
native_event: Event
): void
grid1.attachEvent("onBeforeDropOut", function(context, native_event){
//... some code here ...
//return false to block operation
return true;
});

also check the next samples:

Articles

API