The width property (string) sets the width of the Scheduler control.
Declaration
DayPilot.Scheduler.widthDefault 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot