The showNonBusiness property (boolean) specifies whether non-business time cells should be visible.
Declaration
DayPilot.Scheduler.showNonBusinessDefault Value
trueNotes
If 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.
Examples
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot