DayPilot.Gantt.onTaskResized

Fired when the user finishes drag and drop task box resizing, after the default TaskResize action (specified by taskResizeHandling property).

The default action can be canceled by calling args.preventDefault().

Arguments

  • args.task - holds a DayPilot.Task object representing the task
  • args.newStart - new task start (DayPilot.Date)
  • args.newEnd - new task end (DayPilot.Date)

Example

dp.onTaskResized = function(args) {
  alert("Task resized: " + args.task.text());
};