The setHeight() method sets DayPilot.Gantt.heightSpec to "Fixed" and applies a new height in pixels.
Declaration
DayPilot.Gantt.setHeight(pixels)Parameters
pixels(number) - new Gantt chart height in pixels
Example
gantt.setHeight(400);See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot