html5 gantt drag drop task resizing

Task resizing allows the users to change the start or duration of an existing task using drag and drop.

Task resizing is enabled by default.

  • Resizing is disabled for task groups in Auto mode, and for milestones.
  • You can disable resizing for all tasks using taskResizeHandling = "Disabled"
  • You can disable resizing for selected tasks using resizeDisabled property when loading the task data or during task customization.

JavaScript

Example

gantt.onTaskResized = function(args) {
  gantt.message("Task resized.");
};