The autoStretch property (boolean) specifies whether the modal dialog height should be increased automatically to avoid a scrollbar. The height is increased until DayPilot.Modal.maxHeight is reached.
Declaration
DayPilot.Modal.autoStretchDefault Value
trueExample
const modal = new DayPilot.Modal({
autoStretch: true,
maxHeight: 600,
// ...
});
modal.showUrl("/dialog.html");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot