html5-gantt-drag-drop-task-moving.png

Task moving allows the users to move an existing task in time using drag and drop. For changing the task position in the task hierarchy please see row moving.

Drag and drop task moving is enabled by default.

  • Moving is disabled for task groups in Auto mode.
  • You can disable moving for all tasks and milestones using taskMoveHandling = "Disabled".
  • You can disable moving for selected tasks and milestones using moveDisabled property when loading the task data or during task customization.

JavaScript

Example

gantt.onTaskMoved = function(args) {
  gantt.message("Task moved.");
};