The timeRangeDoubleClickHandling property (string) specifies the default action for onTimeRangeDoubleClick when the user double-clicks a selected time range in the JavaScript Scheduler component.
DayPilot.Scheduler.timeRangeDoubleClickHandling"Disabled" - disables the built-in time range double-click handling.
"Enabled" - enables client-side time range double-click handling and fires onTimeRangeDoubleClick.
"PostBack" - executes the time range double-click action using PostBack (ASP.NET WebForms only).
"CallBack" - executes the time range double-click action using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"JavaScript" - uses the legacy client-side API and fires onTimeRangeDoubleClick(start, end, resource).
"Disabled"Use onTimeRangeDoubleClick to intercept the double click before the configured action is performed. The related onTimeRangeDoubleClicked callback runs after the default action finishes.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
timeRangeDoubleClickHandling: "CallBack",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
timeRangeDoubleClickHandling: "CallBack",
// ...
};React
<DayPilotScheduler
timeRangeDoubleClickHandling="CallBack"
{/* ... */}
/>Vue
<DayPilotScheduler
timeRangeDoubleClickHandling="CallBack"
<!-- ... -->
/>