DayPilot.Month.eventDoubleClickHandling

The eventDoubleClickHandling property (string) specifies the default action for the onEventDoubleClick event in the monthly calendar.

Declaration

DayPilot.Month.eventDoubleClickHandling

Possible Values

  • "Enabled" - enables event double-click handling and fires DayPilot.Month.onEventDoubleClick before the default action, followed by DayPilot.Month.onEventDoubleClicked after it finishes.

  • "Disabled" - ignores event double clicks.

  • "PostBack" - handles the double click using PostBack (ASP.NET WebForms only).

  • "CallBack" - handles the double click using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).

  • "JavaScript" - uses the legacy client-side API and fires the legacy client-side double-click handler.

  • "Select" - selects the double-clicked event.

  • "Bubble" - shows the bubble configured using DayPilot.Month.bubble.

Default Value

"Disabled"

Notes

Use DayPilot.Month.onEventDoubleClick to intercept the double click before the default action is performed, and use DayPilot.Month.onEventDoubleClicked when you need to react after it finishes.

In legacy api=1 mode, the handling value defines the only action, and "JavaScript" uses the client-side callback pipeline.

Examples

JavaScript

const month = new DayPilot.Month("dp", {
  eventDoubleClickHandling: "Select",
  // ...
});
month.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  eventDoubleClickHandling: "Select",
  // ...
};

React

<DayPilotMonth
  eventDoubleClickHandling="Select"
  {/* ... */}
/>

Vue

<DayPilotMonth
  eventDoubleClickHandling="Select"
  <!-- ... -->
/>

See Also

DayPilot.Month.onEventDoubleClick

DayPilot.Month.onEventDoubleClicked

DayPilot.Month.bubble

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript