The rowRightClickHandling property (string) specifies the default action performed when the user right-clicks a Scheduler row header.
Available since 2019.1.3559.
Declaration
DayPilot.Scheduler.rowRightClickHandlingPossible Values
"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.
Default Value
"ContextMenu"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
DayPilot.Scheduler.contextMenuResource
DayPilot.Scheduler.onRowRightClick
DayPilot.Scheduler.onRowRightClicked
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot