DayPilot.Scheduler.timeRangeRightClickHandling

The timeRangeRightClickHandling property (string) specifies the default action performed by the JavaScript Scheduler component for a time range right click.

Declaration

DayPilot.Scheduler.timeRangeRightClickHandling

Possible Values

  • "ContextMenu" - opens the time range selection context menu.

  • "Disabled" - disables built-in time range right-click handling.

  • "Enabled" - keeps the standard time range right-click behavior and fires the related right-click events.

Default Value

"ContextMenu"

Examples

JavaScript

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

Angular

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

React

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

Vue

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

See Also

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript