The heightSpec property (string) specifies the height and grid scrolling mode of the JavaScript Monthly Calendar component.
Declaration
DayPilot.Month.heightSpecDefault Value
"Auto"Notes
Possible values:
"Fixed""Auto""Parent100Pct"
The related Height documentation covers Month height behavior in general.
Examples
JavaScript
const month = new DayPilot.Month("dp", {
heightSpec: "Parent100Pct",
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
heightSpec: "Parent100Pct",
// ...
};React
<DayPilotMonth
heightSpec="Parent100Pct"
{/* ... */}
/>Vue
<DayPilotMonth
heightSpec="Parent100Pct"
<!-- ... -->
/>See Also
Height [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot