Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / examples / calendar / src / views / WeekView.js
1 /*!
2  * Ext JS Library 3.3.0
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 /**
8  * @class Ext.calendar.WeekView
9  * @extends Ext.calendar.DayView
10  * <p>Displays a calendar view by week. This class does not usually need ot be used directly as you can
11  * use a {@link Ext.calendar.CalendarPanel CalendarPanel} to manage multiple calendar views at once including
12  * the week view.</p>
13  * @constructor
14  * @param {Object} config The config object
15  */
16 Ext.calendar.WeekView = Ext.extend(Ext.calendar.DayView, {
17     /**
18      * @cfg {Number} dayCount
19      * The number of days to display in the view (defaults to 7)
20      */
21     dayCount: 7
22 });
23
24 Ext.reg('weekview', Ext.calendar.WeekView);