The timeRangeRightClickHandling property (string) specifies the default action performed by the JavaScript Scheduler component for a time range right click.
Declaration
DayPilot.Scheduler.timeRangeRightClickHandlingPossible 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot