DayPilot.Modal.maxHeight

The maxHeight property (number) specifies the maximum modal dialog height in pixels when DayPilot.Modal.autoStretch is enabled.

Declaration

DayPilot.Modal.maxHeight

Default Value

null

Notes

If not set, the dialog stretches until the free space below it is equal to DayPilot.Modal.top.

Example

const modal = new DayPilot.Modal({
  autoStretch: true,
  maxHeight: 600,
  top: 20,
  // ...
});
modal.showUrl("/dialog.html");

See Also

DayPilot.Modal.autoStretch

DayPilot.Modal.top

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript