DayPilot.Month.heightSpec

The heightSpec property (string) specifies the height and grid scrolling mode of the JavaScript Monthly Calendar component.

Declaration

DayPilot.Month.heightSpec

Default 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]

JavaScript Monthly Calendar

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript