DayPilot.Calendar.cellHeight

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

Declaration

DayPilot.Calendar.cellHeight

Default Value

30

Examples

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

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript