DayPilot.Month.cellHeight

The cellHeight property (number) specifies the height of the JavaScript monthly calendar cells in pixels.

Declaration

DayPilot.Month.cellHeight

Default Value

100

Notes

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

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript