The cellHeight property (number) specifies the height of the JavaScript Calendar cells (in pixels).
Declaration
DayPilot.Calendar.cellHeightDefault Value
30Examples
JavaScript
const calendar = new DayPilot.Calendar("dp", {
cellHeight: 20,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
cellHeight: 20,
// ...
};React
<DayPilotCalendar
cellHeight={20}
{/* ... */}
/>Vue
<DayPilotCalendar
:cellHeight="20"
<!-- ... -->
/>See Also
Cell Height [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot