The heightSpec property determines how the height of the JavaScript Gantt Chart component is calculated.
DayPilot.Gantt.heightSpec (string)"Fixed" - the value of height property is used
"Max" - the height grows up to the value of height property
"Auto" - the height grows automatically so no vertical scrollbar is visible
"Parent100Pct" - the total height of the control will be set to 100% of the parent HTML element
"Max100Pct" - the height will grow automatically according to content until 100% of the parent element is reached
"Max"{
heightSpec: "Parent100Pct",
// ...
}