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


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