The taskResizeMargin property (number) sets the width of the task margin that allows resizing by dragging, in pixels.
DayPilot.Gantt.taskResizeMargin5This value defines how wide the draggable resize area is on task edges.
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"
<!-- ... -->
/>