The timeRangeDoubleClickHandling property (string) specifies the default action for double-clicking an existing time range in the JavaScript Calendar component.
DayPilot.Calendar.timeRangeDoubleClickHandling"Disabled" - disables the built-in time range double-click handling.
"Enabled" - keeps the standard time range double-click behavior and fires the related double-click events.
"CallBack" - executes the server-side double-click action using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"PostBack" - executes the server-side double-click action using PostBack (ASP.NET WebForms only).
"Disabled"Use DayPilot.Calendar.onTimeRangeDoubleClick to intercept the double-click before the default action is performed, and DayPilot.Calendar.onTimeRangeDoubleClicked to react after the default action finishes.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
timeRangeDoubleClickHandling: "Enabled",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
timeRangeDoubleClickHandling: "Enabled",
// ...
};React
<DayPilotCalendar
timeRangeDoubleClickHandling="Enabled"
{/* ... */}
/>Vue
<DayPilotCalendar
:timeRangeDoubleClickHandling="'Enabled'"
<!-- ... -->
/>DayPilot.Calendar.onTimeRangeDoubleClick