DayPilot.Gantt.cellWidthSpec

The cellWidthSpec property sets the Gantt cell width mode.

Declaration

DayPilot.Gantt.cellWidthSpec (string)

Notes

Possible values:

  • "Fixed" - the cells will have fixed width (cellWidth property)
  • "Auto" - the cell width will be calculated automatically (the total grid width will match the control width)

Default Value

"Fixed"

Example

gantt.cellWidthSpec = "Auto";