The headerClickHandling property (string) specifies the default action for the HeaderClick event.
Declaration
DayPilot.Month.headerClickHandlingPossible Values
"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.
Default Value
"Enabled"Examples
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot