onAfterTaskDrag

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

void onAfterTaskDrag(string|number id,string mode,Event e);
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
});

Details

The event fires when the user drags a task in the timeline area.

See also
Back to top