DayPilot.Calendar.viewType

The viewType property (string) sets the view type of the JavaScript Calendar component.

Possible Values

  • "Day"

  • "Week"

  • "WorkWeek"

  • "Days"

  • "Resources"

Default Value

"Days"

See Also

Example

Calendar config:

{
  viewType: "Week",
  // ...
}