DayPilot.Gantt.taskResizeHandling

The taskResizeHandling property (string) specifies how onTaskResize is handled by the JavaScript Gantt Chart.

Declaration

DayPilot.Gantt.taskResizeHandling

Possible Values

  • "Disabled" - task resizing is not allowed.

  • "Update" - updates the task position on the client side.

  • "PostBack" - fires the TaskResize event on the server side (ASP.NET WebForms).

  • "CallBack" - fires the TaskResize event on the server side (ASP.NET WebForms, ASP.NET MVC, Java only).

  • "JavaScript" - legacy api=1 option that fires onTaskResize.

  • "Notify" - updates the task position on the client side and notifies the server in ASP.NET WebForms, ASP.NET MVC, and Java versions.

Default Value

"Update"

Examples

JavaScript

const gantt = new DayPilot.Gantt("dp", {
  taskResizeHandling: "Disabled",
  // ...
});
gantt.init();

Angular

<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
  taskResizeHandling: "Disabled",
  // ...
};

React

<DayPilotGantt
  taskResizeHandling="Disabled"
  {/* ... */}
/>

Vue

<DayPilotGantt
  taskResizeHandling="Disabled"
  <!-- ... -->
/>

See Also

DayPilot.Gantt.onTaskResize

DayPilot.Gantt.onTaskResized

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript