Check documentation for the latest version of dhtmlxSuite onDragOut DHTMLX Docs

onDragOut

fires when an item is dragged out of a potential target

void onDragOut(object context,Event object ev);
contextobjectcontext object
evEvent objectnative event object

Example

myDataView.attachEvent("onDragOut", function (context, ev){
    // your code here
    return true;
});

Details

possible values of the context object:

  • context.start - ID of an item, from which the dragging process started
  • context.source - an array of the dragged IDs (drag source)
  • context.target - null
  • context.from - a view object to which the dragged item belongs
  • context.to - null
  • context.index - index in the target view at which new item will be added
Back to top