DayPilot.Gantt.taskResizeMargin

The taskResizeMargin property (number) sets the width of the task margin that allows resizing by dragging, in pixels.

Declaration

DayPilot.Gantt.taskResizeMargin

Default Value

5

Notes

This value defines how wide the draggable resize area is on task edges.

Examples

JavaScript

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

Angular

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

React

<DayPilotGantt
  taskResizeMargin={10}
  {/* ... */}
/>

Vue

<DayPilotGantt
  :taskResizeMargin="10"
  <!-- ... -->
/>

See Also

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript