The timeHeaderClickHandling property (string) specifies the default action for time header clicks.
DayPilot.Scheduler.timeHeaderClickHandling"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).
"Enabled"Use DayPilot.Scheduler.onTimeHeaderClick to inspect or cancel the action before it is performed, and use DayPilot.Scheduler.onTimeHeaderClicked to react after it finishes.
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'"
<!-- ... -->
/>DayPilot.Scheduler.onTimeHeaderClick