onAfterTaskDrag

fires after the user has finished to drag and released the mouse button

void onAfterTaskDrag(string|number id,string mode,Event e){ ... };

Parameters

idstring|numberthe task id
modestringthe drag-and-drop mode ("resize", "progress", "move", "ignore")
eEventa native event object

Example

gantt.attachEvent("onAfterTaskDrag", function(id, mode, e){
    //any custom logic here
});

See also
Back to top