DayPilot.Gantt.heightSpec

Specifies the way the Gantt control height is determined;

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

gantt.heightSpec = "Auto";