The headerClickHandling property (string) specifies the default action for the HeaderClick event.
DayPilot.Month.headerClickHandling"Enabled" executes the default client-side header click handling.
"Disabled" disables the default header click action.
"CallBack" performs a callback when the header is clicked. ASP.NET WebForms, ASP.NET MVC, and Java versions only.
"PostBack" performs a postback when the header is clicked. ASP.NET WebForms only.
"JavaScript" invokes JavaScript event handling in legacy integrations.
"Enabled"JavaScript
const month = new DayPilot.Month("dp", {
headerClickHandling: "Enabled",
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
headerClickHandling: "Enabled",
// ...
};React
<DayPilotMonth
headerClickHandling="Enabled"
{/* ... */}
/>Vue
<DayPilotMonth
headerClickHandling="Enabled"
<!-- ... -->
/>