DayPilot.Scheduler.scale

The scale property sets the JavaScript Scheduler grid cell size (duration). The Scheduler scale unit can be one of the predefined values or a custom number of minutes.

Declaration

DayPilot.Scheduler.scale (string)

Possible Values

  • "CellDuration"

  • "Manual"

  • "Minute"

  • "Hour"

  • "Day"

  • "Week"

  • "Month"

  • "Year"

The time unit values ("Minute", "Hour", "Day", "Week", "Month", "Year") apply the respective time unit.

The "CellDuration" value applies the number of minutes specified in cellDuration property as a time unit.

If you set scale to "Manual" the Scheduler will not generate the timeline automatically but the timeline cells specified using timeline property will be used.

Default Value

The default value is "CellDuration".

Example

Scheduler config:

{
  scale: "Day",
  // ...
}

Related Properties