DayPilot.Scheduler.width

The width property (string) sets the width of the Scheduler control.

Declaration

DayPilot.Scheduler.width

Default Value

"100%"

Notes

Use a CSS width value such as "300px" or "100%".

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  width: "300px",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  width: "300px",
  // ...
};

React

<DayPilotScheduler
  width="300px"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  width="300px"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript