/*! * Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.calendar.MonthViewTemplate * @extends Ext.XTemplate *
This is the template used to render the {@link Ext.calendar.MonthView MonthView}. Internally this class defers to an * instance of {@link Ext.calerndar.BoxLayoutTemplate} to handle the inner layout rendering and adds containing elements around * that to form the month view.
*This template is automatically bound to the underlying event store by the * calendar components and expects records of type {@link Ext.calendar.EventRecord}.
* @constructor * @param {Object} config The config object */ Ext.calendar.MonthViewTemplate = function(config){ Ext.apply(this, config); this.weekTpl = new Ext.calendar.BoxLayoutTemplate(config); this.weekTpl.compile(); var weekLinkTpl = this.showWeekLinks ? '| {.:date("D")} | ', '
|---|