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

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