sicoobcooplivre Posted December 20, 2022 Share Posted December 20, 2022 @SherzodPlease, is there any way to adjust unicalendar to only display the days of the month, removing the bottom part where the days of the following month appear? What I need is to make the calendar as large as possible to be able to show the labels of each task for easy viewing. Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2022 Share Posted December 20, 2022 Hello @sicoobcooplivre Need to analyze. Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted December 20, 2022 Author Share Posted December 20, 2022 Please, just tell me if it's possible, otherwise I'll study another way. My idea is to increase the size of the panels for each day, so I can show more task labels, instead of showing "+2 more" as in the example in the attachment, on the 21st. Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 21, 2022 Share Posted December 21, 2022 Hello @sicoobcooplivre I seem to have found a solution, I'll check it out and let you know: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 21, 2022 Share Posted December 21, 2022 Need to investigate more. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 21, 2022 Share Posted December 21, 2022 12 hours ago, sicoobcooplivre said: @SherzodPlease, is there any way to adjust unicalendar to only display the days of the month, removing the bottom part where the days of the following month appear? What I need is to make the calendar as large as possible to be able to show the labels of each task for easy viewing. Thanks! Try this design, very usefull. (From our Friend Sherzod) http://forums.unigui.com/index.php?/topic/14898-config-period-time-default-calendarpanel/&do=findComment&comment=81130 Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted December 21, 2022 Author Share Posted December 21, 2022 @SherzodThis is what I need! Can you explain how to do it please? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 21, 2022 Share Posted December 21, 2022 Just now, sicoobcooplivre said: Can you explain how to do it please? 6 hours ago, Sherzod said: Need to investigate more. Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted February 17, 2023 Author Share Posted February 17, 2023 Good morning! Can you help me with the doubt of this post? I need to show only the days of the current month, so the calendar gets bigger, fitting more events to display. Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 18, 2023 Share Posted February 18, 2023 15 hours ago, sicoobcooplivre said: Can you help me with the doubt of this post? I need to show only the days of the current month, so the calendar gets bigger, fitting more events to display. Hello, Yes, sorry. I seem to have lost the code that worked to get the result. I do not promise to do it quickly, but I will try to analyze it again. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 19, 2023 Share Posted February 19, 2023 @sicoobcooplivre In progress... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2023 Share Posted February 20, 2023 Currently: Given the required weeks: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2023 Share Posted February 20, 2023 I will try to post a solution later. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2023 Share Posted February 20, 2023 Try this approach: MainForm.Script -> Ext.calendar.view.Weeks.prototype.recalculate = function() { function getFullWeeksStartAndEndInMonth(activeStart, start, end) { var ceil = Math.ceil(end.getDate() / 7); if (activeStart.getTime() !== start.getTime()) { let delta = (start.getTime() - activeStart.getTime()) / (1000 * 60 * 60 * 24); ceil = 1; delta = Math.ceil((end.getDate() - Math.abs(delta - 7)) / 7); ceil = ceil + delta; } return ceil }; var dateInfo = this.doRecalculate(); let activeStart = new Date(dateInfo.active.start); let start = new Date(dateInfo.month.start); let end = new Date(dateInfo.month.end); dateInfo.requiredWeeks = getFullWeeksStartAndEndInMonth(activeStart, start, end); this.dateInfo = dateInfo; this.setSourceRange(dateInfo.visible); } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2023 Share Posted February 20, 2023 I think we can also add the functionality in this way: 2 Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted February 22, 2023 Author Share Posted February 22, 2023 It is perfect! Thanks a lot for the help! 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2023 Share Posted May 15, 2023 On 12/20/2022 at 10:56 PM, sicoobcooplivre said: What I need is to make the calendar as large as possible to be able to show the labels of each task for easy viewing. Thanks! In addition you can use this config: 1 Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 14, 2023 Author Share Posted August 14, 2023 @SherzodGood afternoon! Is there a possibility to paint the background of each event with a bar, the same as the "TEST" event, regardless of whether the event is all day or not? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 15, 2023 Share Posted August 15, 2023 Hello, 8 hours ago, sicoobcooplivre said: Is there a possibility to paint the background of each event with a bar, the same as the "TEST" event, regardless of whether the event is all day or not? What if you choose always AllDay = True? Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 15, 2023 Author Share Posted August 15, 2023 @Sherzod Good morning! It worked with Allday-true, thanks! In the meantime, please clear one more doubt: it is possible to put the start and end time in the event description, for example using the attachment that I put above, the event of the 16th, display like this: 10:00 am - 11:00 am Meeting-4 My user would like to see the start and end time right there in the summary description, is it possible? Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 15, 2023 Author Share Posted August 15, 2023 @SherzodI found it, I did it like this: E := UniCalendarPanel 1.Events.Add; A.Title := and put the start and end time here! Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 15, 2023 Author Share Posted August 15, 2023 @Sherzod Please, is there a possibility for me to display a hint with a different subject than the title, when the user hovers the mouse over the event? Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 16, 2023 Author Share Posted August 16, 2023 @SherzodGood afternoon! Please, do you know if my question above is possible? It was a request from my users to be able to read the complete event through the hint. Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 16, 2023 Share Posted August 16, 2023 Hello @sicoobcooplivre Don't know yet... Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 16, 2023 Author Share Posted August 16, 2023 Okay thank you!! 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.