The heightSpec property (string) determines how the Scheduler height is specified.
DayPilot.Scheduler.heightSpec"Auto" - the height grows automatically so no vertical scrollbar is visible.
"Fixed" - uses the value of the height property.
"Max" - the height grows up to the value of the height property.
"Parent100Pct" - sets the total height of the control to 100% of the parent HTML element. Pro only.
"Max100Pct" - the height grows automatically until 100% of the parent HTML element is reached. Pro only.
"Auto"JavaScript
const dp = new DayPilot.Scheduler("dp", {
heightSpec: "Max",
height: 300,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
heightSpec: "Max",
height: 300,
// ...
};React
<DayPilotScheduler
heightSpec="Max"
height={300}
{/* ... */}
/>Vue
<DayPilotScheduler
heightSpec="Max"
:height="300"
<!-- ... -->
/>Scheduler Height [doc.daypilot.org]
DayPilot.Scheduler.hideBorderFor100PctHeight
Availability of this API item in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript |
Lite does not support: Max100Pct, Parent100Pct