The viewType property (string) specifies whether the calendar view type will display the full month ("Month") or a specified number of weeks ("Weeks").
Default Value
"Month"
Possible Values
- "Month" - the calendar will display the full month
- "Weeks" - the calendar will display the number of weeks set using weeks property
Example
dp.viewType = "Weeks";
dp.weeks = 2;
Availability
Availability of this API item in DayPilot editions: