DayPilot.Scheduler.timeHeaderRightClickHandling

The timeHeaderRightClickHandling property (string) specifies the default action for right-clicking a time header cell.

Declaration

DayPilot.Scheduler.timeHeaderRightClickHandling

Possible Values

  • "Enabled" - keeps the standard time header right-click behavior enabled.

  • "Disabled" - disables the default time header right-click action.

  • "PostBack" - executes the time header right-click action using PostBack (ASP.NET WebForms only).

  • "CallBack" - executes the time header right-click action using CallBack (ASP.NET WebForms, ASP.NET MVC, and Java versions only).

Default Value

"Enabled"

Notes

Use DayPilot.Scheduler.onTimeHeaderRightClick to inspect or cancel the action before it is performed, and use DayPilot.Scheduler.onTimeHeaderRightClicked to react after it finishes.

The right-click event pipeline is active when timeHeaderRightClickHandling is set to "Enabled".

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  timeHeaderRightClickHandling: "Disabled",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  timeHeaderRightClickHandling: "Disabled",
  // ...
};

React

<DayPilotScheduler
  timeHeaderRightClickHandling="Disabled"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :timeHeaderRightClickHandling="'Disabled'"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onTimeHeaderRightClick

DayPilot.Scheduler.onTimeHeaderRightClicked

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript