DayPilot.Gantt.taskClickHandling

Specifies the default TaskClick 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.taskClickHandling = "ContextMenu";

  // ...

  gantt.init();
</script>

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java