The days property (number) sets the number of days that will be displayed in the JavaScript Calendar.
DayPilot.Calendar.days1In the days view (viewType: "Days"), it specifies the number of columns.
In the resources view (viewType: "Resources"), it specifies the timeline length displayed on the vertical axis. This option is supported since version 2023.4.5739.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
days: 14,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
days: 14,
// ...
};React
<DayPilotCalendar
days={14}
{/* ... */}
/>Vue
<DayPilotCalendar
:days="14"
<!-- ... -->
/>Days View [doc.daypilot.org]
Resources View [doc.daypilot.org]
DayPilot.Calendar.visibleStart()