DayPilot.Gantt.taskDoubleClickHandling

Specifies the default TaskDoubleClick action.

Options:

  • "Enabled" - event clicking will be enabled, events will be fired, no default action
  • "Disabled" - event clicking will be disabled, no events will be fired
  • "PostBack" (ASP.NET WebForms)
  • "CallBack" (ASP.NET WebForms, ASP.NET MVC)
  • "Bubble" - opens a task bubble
  • "ContextMenu" - opens a task context menu

Example

<div id="dp"></div>

<script>
  var gantt = new DayPilot.Gantt("dp");
  gantt.taskDoubleClickHandling = "ContextMenu";

  // ...

  gantt.init();
</script>