The allowDefaultContextMenu property (boolean) lets you enable or disable the default browser context menu on the Scheduler grid.
Declaration
DayPilot.Scheduler.allowDefaultContextMenuDefault Value
falseExamples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
allowDefaultContextMenu: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
allowDefaultContextMenu: true,
// ...
};React
<DayPilotScheduler
allowDefaultContextMenu={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:allowDefaultContextMenu="true"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot