2011-03-21 80 views

回答

1

您应该能够在CalendarPanel中将showMultiWeekView配置选项设置为true。您可以选择指定multiWeekViewCfg来定义要显示的周数,但默认情况下它会使用两周时间。

例如:

var cp = new Ext.ensible.cal.CalendarPanel({ 
    //other properties... 
    showMultiWeekView: true, 
    multiWeekViewCfg: { //not necessary, but included for reference. 
     weekCount: 2 
    } 
}); 

Take a look at the documentationCalendarPanel

+0

它的工作。谢谢^^ – MartinJoo 2011-03-22 04:29:59

+0

如果它适合您,请将其标记为已接受。 – NT3RP 2011-03-22 12:01:03