The taskResizeMargin property (number) sets the width of the task margin that allows resizing by dragging, in pixels.
Declaration
DayPilot.Gantt.taskResizeMarginDefault Value
5Notes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot