DayPilot.Gantt.heightSpec

The heightSpec property determines how the height of the JavaScript Gantt Chart component is calculated.

Declaration

DayPilot.Gantt.heightSpec (string)

Possible Value

  • "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

Default Value

"Max"

Example

{
  heightSpec: "Parent100Pct",
  // ...
}