I trying an extjs component (extensible calendar)
http://ext.ensible.com/
I want change the start time in day view become 4.30, but the data doesn't show after 23:00.
开发者_运维技巧This is make me crazy T.T
Please, any suggestion please...
set the viewStartHour : Integer
config of the day view.
Read docs here
Set viewStartHour and viewEndHour on fly !!
var cal = Ext.ComponentQuery.query('#app-calendar')[0];
var activeView = cal.getActiveView();
activeView.body.viewStartHour = 6; //you most use an variable!!
activeView.body.viewEndHour = 12;
activeView.body.tpl.viewStartHour = 6;
activeView.body.tpl.viewEndHour = 12;
activeView.body.tpl.constructor();
activeView.body.refresh(false);
Enjoy!!!!
精彩评论