DayPilot.Scheduler.timeHeaderClickHandling

The timeHeaderClickHandling property (string) specifies the default action for time header clicks.

Declaration

DayPilot.Scheduler.timeHeaderClickHandling

Possible Values

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

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

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

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

Default Value

"Enabled"

Notes

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

Examples

JavaScript

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

Angular

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

React

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

Vue

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

See Also

DayPilot.Scheduler.onTimeHeaderClick

DayPilot.Scheduler.onTimeHeaderClicked

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript