TNT23 Posted September 8, 2014 Share Posted September 8, 2014 Thank you very much for the amasing components. Is there a way to change the start day of the calendar panel so that it will start from monday? 1 Link to comment Share on other sites More sharing options...
Sherzod Posted September 8, 2014 Share Posted September 8, 2014 Hi, While, try.. UniCalendarPanel1 -> ClientEvents -> ExtEvents -> add function afterrender: function afterrender(sender, eOpts) { // sunday = 0, monday = 1, ... sender.getActiveView().startDay = 1; } Best regards. Link to comment Share on other sites More sharing options...
TNT23 Posted September 8, 2014 Author Share Posted September 8, 2014 Thank you very much it is working great Link to comment Share on other sites More sharing options...
TNT23 Posted September 10, 2014 Author Share Posted September 10, 2014 Another problem is that the code is working great at Month view but in Week view StartDay does not affect the final result. (Sunday is still first). Is there a work arround for this? Link to comment Share on other sites More sharing options...
zilav Posted September 10, 2014 Share Posted September 10, 2014 Open AbstractCalendar.js and set startDay to 1 Link to comment Share on other sites More sharing options...
TNT23 Posted September 11, 2014 Author Share Posted September 11, 2014 Thank you all... Its working great. Link to comment Share on other sites More sharing options...
Recommended Posts