The weeks property (number) sets the number of weeks displayed by the monthly calendar in the weeks view.
DayPilot.Month.weeks1This property is used when DayPilot.Month.viewType is set to "Weeks".
JavaScript
const dp = new DayPilot.Month("dp", {
viewType: "Weeks",
weeks: 6,
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
viewType: "Weeks",
weeks: 6,
// ...
};React
<DayPilotMonth
viewType="Weeks"
weeks={6}
{/* ... */}
/>Vue
<DayPilotMonth
viewType="Weeks"
:weeks="6"
<!-- ... -->
/>Weeks View [doc.daypilot.org]