jahlxx Posted December 13, 2016 Share Posted December 13, 2016 Hi. As the attached image, how to disable the "items" red.boxed? (disable and set invisible) I'd like to show a month, but disable the option to the user to change month, change year, go today, etc. Is possible? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2016 Share Posted December 13, 2016 Hi, For hide "Today" you can try this: ... ClientEvents -> UniEvents -> Ext.picker.Date [picker] -> function picker.beforeInit: function picker.beforeInit(sender, config) { config.showToday = false } Best regards. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted December 13, 2016 Author Share Posted December 13, 2016 Ok. Works. Thanks. I also need, to show in a different color, the days where are some event. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2016 Share Posted December 13, 2016 I also need, to show in a different color, the days where are some event. Maybe this topic will help you: http://forums.unigui.com/index.php?/topic/7353-tunicalendar-highlight-days-and-more/ Quote Link to comment Share on other sites More sharing options...
jahlxx Posted December 13, 2016 Author Share Posted December 13, 2016 I've seen. Is a long topic for a simple task (I think). Can you paste here the final solution? Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted December 14, 2016 Author Share Posted December 14, 2016 Hi. Is possible a test project for highlights? Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 20, 2017 Author Share Posted April 20, 2017 Hi. I've done, and works as expected. Many thanks. Is possiblo to change the size of the calendar? Now I see it different in design time ans run time. I don't know why. I need to view only one month, and the posibility of change the size. Is this possible? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 20, 2017 Share Posted April 20, 2017 Hi, Can you give us a little more information?! (screenshots, links...) Best regards, Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 20, 2017 Author Share Posted April 20, 2017 Ok. file 1 is in design time. file 2, is the runtime of file 1. as you can see its size is different file 3 is in design time, and file 4 is the runtime of file 3. as you can see, they are completely differents. I'd like to see, only one month per time, but in the same size (or the size I prefer), of the file 3. Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 20, 2017 Share Posted April 20, 2017 Hi, Yes there are differences,Let's say for different themes and they will be different, is not it?! Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 20, 2017 Author Share Posted April 20, 2017 I use windows 10 theme. can I define the size in run time? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 20, 2017 Share Posted April 20, 2017 You mean 4 months? Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 20, 2017 Author Share Posted April 20, 2017 No. I'd like to show only one month, but in mu own size (heigh and width). Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 21, 2017 Share Posted April 21, 2017 Hi, For "width" you can try this approach for now I think: UniCalendar -> ClientEvents -> UniEvents -> Ext.picker.Date[picker] picker.beforeInit fn: function picker.beforeInit(sender, config) { config.width="100%"; } Best regards, Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 21, 2017 Author Share Posted April 21, 2017 ok. thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.