DayPilot.Scheduler.showNonBusiness

The showNonBusiness property (boolean) specifies whether non-business time cells should be visible.

Declaration

DayPilot.Scheduler.showNonBusiness

Default Value

true

Notes

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

DayPilot.Scheduler.days

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript