The days property (number) sets the visible time range of the JavaScript Scheduler in days. Use startDate to set the first visible date.
DayPilot.Scheduler.days1If showNonBusiness is set to false and businessWeekends is set to false, the resulting timeline may be shorter than the specified days value because non-business days are removed after the timeline is generated.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
days: 30,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
days: 30,
// ...
};React
<DayPilotScheduler
days={30}
{/* ... */}
/>Vue
<DayPilotScheduler
:days="30"
<!-- ... -->
/>DayPilot.Scheduler.cellDuration