DayPilot.Month.showWeekend

The showWeekend property (boolean) specifies whether the monthly calendar displays Saturday and Sunday columns.

Declaration

DayPilot.Month.showWeekend

Default Value

true

Examples

JavaScript

const dp = new DayPilot.Month("dp", {
  showWeekend: false,
  // ...
});
dp.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  showWeekend: false,
  // ...
};

React

<DayPilotMonth
  showWeekend={false}
  {/* ... */}
/>

Vue

<DayPilotMonth
  :showWeekend="false"
  <!-- ... -->
/>

See Also

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript