The maxHeight property (number) specifies the maximum modal dialog height in pixels when DayPilot.Modal.autoStretch is enabled.
Declaration
DayPilot.Modal.maxHeightDefault Value
nullNotes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot