Check documentation for the latest version of dhtmlxSuite onDragOut DHTMLX Docs


fires when an item is dragged out of a potential target

void onDragOut(object context,Event object ev){ ... };


contextobjectcontext object
evEvent objectnative event object


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


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)
  • - null
  • context.from - a view object to which the dragged item belongs
  • - null
  • context.index - index in the target view at which new item will be added
Back to top