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