DayPilot.Scheduler.eventDoubleClickHandling

The eventDoubleClickHandling property (string) specifies how event double clicks are handled in the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.eventDoubleClickHandling

Possible Values

  • "Disabled" - event double clicking is disabled.

  • "Enabled" - event double clicking is enabled but no default action is performed. Use onEventDoubleClick and/or onEventDoubleClicked.

  • "PostBack" - invokes EventDoubleClick on the server side using PostBack (ASP.NET WebForms only).

  • "CallBack" - invokes EventDoubleClick on the server side using CallBack (ASP.NET WebForms ASP.NET MVC and Java versions only).

  • "JavaScript" - invokes EventDoubleClickJavaScript on the client side (ASP.NET WebForms and ASP.NET MVC).

  • "Edit" - enters inline editing.

  • "Select" - selects the event.

  • "ContextMenu" - activates the event context menu.

  • "Bubble" - activates the bubble.

Default Value

"Disabled"

Notes

Set this property to "Enabled" when you want to handle event double clicks in DayPilot.Scheduler.onEventDoubleClick or DayPilot.Scheduler.onEventDoubleClicked without a built-in default action.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventDoubleClickHandling: "Enabled",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventDoubleClickHandling: "Enabled",
  // ...
};

React

<DayPilotScheduler
  eventDoubleClickHandling="Enabled"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  eventDoubleClickHandling="Enabled"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onEventDoubleClick

DayPilot.Scheduler.onEventDoubleClicked

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript