Search
Calendar Views
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
The Schedule
Calendar Views
List View
MonthRange View
Resource View
SingleMonth View
Timetable View
WeekRange View
Grouping
Customizing Appearance
Events
Built-in Forms
Localization
Tutorials
Reference
Licensing
Online Resources
Technical Support
MindFusion Products

The Calendar class implements several types of views that can be enabled by setting the calendar's currentView property. These views provide different outlooks over the schedule data and allow for different user interaction behavior. By changing the views from more general ones to more specialized ones, your application can implement drilling down through the schedule data. At this time MindFusion.Scheduling for JavaScript supports the following views:

- MonthRange to display a range of months.
- SingleMonth to display a single month and lets the user scroll to the previous or next month.
- WeekRange to display a grid in which the days of a week occupy a single row.
- List to display a list of cells where each cell represents an arbitrary time interval, such as second, minute, hour, and so on.
- Timetable to display the allotment of resources to distinct hours of a day.
- Resource to display the distribution of items over a period of time for particular contacts, locations, tasks or resources.

The following code sets the view of a schedule to Resource view:

JavaScript Copy Code
calendar.currentView = p.CalendarView.ResourceView;

The "Calendar View and Settings" tutorial provides you with practical example on how to use the viewSettings properties to customize your schedule.