mhmda Posted July 28, 2016 Share Posted July 28, 2016 When I use calendar (or when opening calendar example from unigui) I got this in browser console, why? EXJS Ver. 4.2.5.1763 UniGUI 0.99.95.1309 Windows 7 pro Delphi Xe8 And how can I add 'jumb to'? And how can I make the week to be default display? Link to comment Share on other sites More sharing options...
mhmda Posted July 29, 2016 Author Share Posted July 29, 2016 Documentation for Calendar here: http://ext.ensible.com/deploy/dev/docs/#!/api/Extensible.calendar.CalendarPanel To set 'Week' as default use (extjs clientevents): function afterrender(sender, eOpts) { Ext.defer(function() {sender.setActiveView(1);}, 1000);//give it some delay otherwise it will animate scroll down & up :-) } Link to comment Share on other sites More sharing options...
davide Posted October 19, 2016 Share Posted October 19, 2016 hi mohammad, i try to personalize nav panel, without success. I'm trying to add "toDay" button and "jump to" section. I've just added some code to ClientEvents->UniEvents on beforeInit: function beforeInit(sender, config) { config.monthViewCfg = { // disable drug and drop enableDD: false, // show day of week on column header showHeader: true , // starting week with Mondey startDay : 1 } } That code working well, but now (in according with specification at the site's you are post before) i would add fetature to "jump to" and "today" with the following config property of CalendarPanel. // nav bar, day feature showNavToday : true, showNavJump : true, It's not running. How do you have solved your first question? thanks in advantage, Davide Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now