Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / examples / calendar / src / views / WeekView.js
diff --git a/examples/calendar/src/views/WeekView.js b/examples/calendar/src/views/WeekView.js
new file mode 100644 (file)
index 0000000..cd89655
--- /dev/null
@@ -0,0 +1,24 @@
+/*!
+ * Ext JS Library 3.3.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/**
+ * @class Ext.calendar.WeekView
+ * @extends Ext.calendar.DayView
+ * <p>Displays a calendar view by week. This class does not usually need ot be used directly as you can
+ * use a {@link Ext.calendar.CalendarPanel CalendarPanel} to manage multiple calendar views at once including
+ * the week view.</p>
+ * @constructor
+ * @param {Object} config The config object
+ */
+Ext.calendar.WeekView = Ext.extend(Ext.calendar.DayView, {
+    /**
+     * @cfg {Number} dayCount
+     * The number of days to display in the view (defaults to 7)
+     */
+    dayCount: 7
+});
+
+Ext.reg('weekview', Ext.calendar.WeekView);
\ No newline at end of file