The cellHeight property (number) specifies the height of the JavaScript monthly calendar cells in pixels.
Declaration
DayPilot.Month.cellHeightDefault Value
100Notes
This is the minimum cell height. The cell will be extended automatically if more space is needed to display events.
Examples
JavaScript
const month = new DayPilot.Month("dp", {
cellHeight: 80,
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
cellHeight: 80,
// ...
};React
<DayPilotMonth
cellHeight={80}
{/* ... */}
/>Vue
<DayPilotMonth
:cellHeight="80"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot