The timeRangeRightClickHandling property (string) specifies the default action performed by the JavaScript Scheduler component for a time range right click.
DayPilot.Scheduler.timeRangeRightClickHandling"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.
"ContextMenu"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"
<!-- ... -->
/>