The showNonBusiness property (boolean) specifies whether non-business time cells should be visible.
DayPilot.Scheduler.showNonBusinesstrueIf set to false, non-business cells are removed from the generated timeline. The timeline is not extended by the hidden days; see DayPilot.Scheduler.days.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
showNonBusiness: false,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
showNonBusiness: false,
// ...
};React
<DayPilotScheduler
showNonBusiness={false}
{/* ... */}
/>Vue
<DayPilotScheduler
:showNonBusiness="false"
<!-- ... -->
/>