The rowRightClickHandling property (string) specifies the default action performed when the user right-clicks a Scheduler row header.
Available since 2019.1.3559.
DayPilot.Scheduler.rowRightClickHandling"Disabled" - no default row right-click action is performed.
"Enabled" - row right-click handling is enabled without opening a context menu.
"ContextMenu" - opens the context menu specified using contextMenuResource.
"ContextMenu"Use onRowRightClick to intercept the right click before the default action and call args.preventDefault() if needed. Use onRowRightClicked to react after the default action completes.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
rowRightClickHandling: "Disabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowRightClickHandling: "Disabled",
// ...
};React
<DayPilotScheduler
rowRightClickHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotScheduler
rowRightClickHandling="Disabled"
<!-- ... -->
/>DayPilot.Scheduler.contextMenuResource
DayPilot.Scheduler.onRowRightClick