The linkHitAreaMinWidth property (number) specifies the minimum width of the interactive hit area around Gantt task links, in pixels.
Available since 2026.3.7034.
Declaration
DayPilot.Gantt.linkHitAreaMinWidthDefault Value
8Notes
The hit area is used to detect pointer interactions with links, including hovering, clicking, displaying the link context menu, and activating the link bubble.
The hit area is invisible and does not affect the visual width of task links.
Use this property to make thin links easier to target with the pointer. The actual hit area will not be narrower than linkWidth.
Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
linkHitAreaMinWidth: 12,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
linkHitAreaMinWidth: 12,
// ...
};React
<DayPilotGantt
linkHitAreaMinWidth={12}
{/* ... */}
/>Vue
<DayPilotGantt
:linkHitAreaMinWidth="12"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot