DayPilot.Month.weeks

The weeks property (number) sets the number of weeks to be displayed by the monthly calendar in the weeks view.

Default Value

1

Example

const monthlyCalendar = new DayPilot.Month("month", {
  viewType: "Weeks",
  weeks: 6,
  // ...
});
monthlyCalendar.init();