The taskDoubleClickHandling property (string) specifies the default action performed when the user double-clicks a task box.
Declaration
DayPilot.Gantt.taskDoubleClickHandlingPossible Values
"Enabled"- task double-clicking is enabled, related events are fired, and no default action is performed."Disabled"- task double-clicking is disabled."PostBack"- fires theTaskDoubleClickevent on the server side (ASP.NET WebForms)."CallBack"- fires theTaskDoubleClickevent on the server side (ASP.NET WebForms, ASP.NET MVC, Java only)."Bubble"- opens a task bubble."ContextMenu"- opens a task context menu."Edit"- activates inline task editing."Select"- selects the task.
Default Value
"Enabled"Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
taskDoubleClickHandling: "ContextMenu",
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
taskDoubleClickHandling: "ContextMenu",
// ...
};React
<DayPilotGantt
taskDoubleClickHandling="ContextMenu"
{/* ... */}
/>Vue
<DayPilotGantt
taskDoubleClickHandling="ContextMenu"
<!-- ... -->
/>See Also
DayPilot.Gantt.onTaskDoubleClick
DayPilot.Gantt.onTaskDoubleClicked
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot