X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/calendar/src/views/WeekView.js?ds=sidebyside diff --git a/examples/calendar/src/views/WeekView.js b/examples/calendar/src/views/WeekView.js new file mode 100644 index 00000000..cd896550 --- /dev/null +++ b/examples/calendar/src/views/WeekView.js @@ -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 + *

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.

+ * @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