The height property (number) sets the height of the Gantt viewport, excluding the header.
DayPilot.Gantt.height300This value is used when DayPilot.Gantt.heightSpec is set to "Fixed" or "Max".
JavaScript
const gantt = new DayPilot.Gantt("dp", {
heightSpec: "Fixed",
height: 200,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
heightSpec: "Fixed",
height: 200,
// ...
};React
<DayPilotGantt
heightSpec="Fixed"
height={200}
{/* ... */}
/>Vue
<DayPilotGantt
heightSpec="Fixed"
:height="200"
<!-- ... -->
/>