DayPilot.Scheduler.businessWeekends

The businessWeekends property (boolean) determines whether weekends (Saturday and Sunday) will be considered business days.

Declaration

DayPilot.Scheduler.businessWeekends

Default Value

false

Notes

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  businessWeekends: true,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  businessWeekends: true,
  // ...
};

React

<DayPilotScheduler
  businessWeekends={true}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :businessWeekends="true"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.cellsMarkBusiness

DayPilot.Scheduler.showNonBusiness

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript