DayPilot.Scheduler.timeRangeDoubleClickHandling

The timeRangeDoubleClickHandling property (string) specifies the default action for onTimeRangeDoubleClick when the user double-clicks a selected time range in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.timeRangeDoubleClickHandling

Possible Values

  • "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).

Default Value

"Disabled"

Notes

Use onTimeRangeDoubleClick to intercept the double click before the configured action is performed. The related onTimeRangeDoubleClicked callback runs after the default action finishes.

Examples

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"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onTimeRangeDoubleClick

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript