The headerClickPostBack() method executes the server-side HeaderClick event using a PostBack (ASP.NET WebForms only).
Declaration
DayPilot.Month.headerClickPostBack(h[, data]);Parameters
h(DayPilot.MonthHeader) - header that was clickeddata(object) - additional custom data
Notes
DayPilot.MonthHeader is a simple object with the following property:
day(int) - day of week number
Example
const header = {
day: 1
};
dp.headerClickPostBack(header, { source: "toolbar" });
DayPilot