2011-03-21 95 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