Sherzod Posted August 17, 2023 Share Posted August 17, 2023 @sicoobcooplivre Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 17, 2023 Share Posted August 17, 2023 Solution: 1. 2. E := UniCalendarPanel1.Events.Add; E.CalendarId := 1; E.Notes := 'Hint'; //<----- E.Title := '<span title="'+ E.Notes +'">Meeting</span>'; //<----- E.StartDate := Date; E.EndDate := Date; E.IsAllDay := True; Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 17, 2023 Author Share Posted August 17, 2023 Top! Sorted out! Thank you very much indeed for the help! Great week! 1 Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 18, 2023 Author Share Posted August 18, 2023 @SherzodGood afternoon! Please, is there a possibility to decrease the spacing between events, as in the attachment, so that I can display more events to the user? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 19, 2023 Share Posted August 19, 2023 12 hours ago, sicoobcooplivre said: Please, is there a possibility to decrease the spacing between events, as in the attachment, so that I can display more events to the user? I think the two solutions (links) that are given in this post, they give you the most optimal solution at the moment. And this is for MonthView as you know. Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 21, 2023 Author Share Posted August 21, 2023 Good morning! Sorry, my fault! It worked, thank you very much! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted August 22, 2023 Author Share Posted August 22, 2023 @Sherzod Good morning! Please, I need some help, I already asked this question, but I did it wrong: In my calendar I just use "isallday=false"! Please, is there a possibility for me to invert the color via command, that is, leaving the background filled in, regardless of whether the event is set to "isallday=false"? I need this, because it's a request from my user, and I know how to do it! In the attached example, in the "day" and "week" view, the background of the event is correct, filled in red. But when my user goes to see the "month" view, there is no background, only the text turns red! My user uses colors to organize himself! I know it sounds silly, but it's important to me, and even inspecting the objects in the browser, I couldn't find a solution! Therefore, I ask again: is there a possibility that the event being set to "isallday=false", in the "month" view, does it fill the background of the event with the color that I define? Did I explain? Thank you very much for your attention! Great day! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 23, 2023 Share Posted August 23, 2023 These posts may help you: Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 4, 2023 Author Share Posted September 4, 2023 @Sherzod It worked out! I'm almost done with my customization of the calendar, taking advantage, is there a possibility, please, to hide the options on the left side, and move the buttons from the right side to the left, as per the attachment? Thank you very much for your attention! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 5, 2023 Author Share Posted September 5, 2023 @SherzodGood morning! Can you please help me with the above question? My calendar is almost ready! Thanks a lot for the help! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2023 Share Posted September 5, 2023 Hello @sicoobcooplivre I will check. Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 5, 2023 Author Share Posted September 5, 2023 Thank you very much! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2023 Share Posted September 5, 2023 I have a solution, I'll post later today. Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 5, 2023 Author Share Posted September 5, 2023 Thank you very much! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2023 Share Posted September 5, 2023 19 hours ago, sicoobcooplivre said: Solution: 1. UniCalendarPanel.ClientEvents.UniEvents -> function beforeInit(sender, config) { config.todayButton = { hidden: true }; config.nextButton = { hidden: true }; config.previousButton = { hidden: true }; config.dateTitle = { hidden: true }; config.cls = 'customCalendar'; } 2. UniServerModule.CustomCSS -> .customCalendar .x-calendar-panel-switcher { left: 0 !important; } Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 5, 2023 Author Share Posted September 5, 2023 @Sherzod Perfect, it worked! Thanks! Now one more question, please: The UniCalendarPanel time seems to be 1 hour less than my time! How do I make it understand my local time? Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 5, 2023 Author Share Posted September 5, 2023 @SherzodCan you please help me again with the above query? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2023 Share Posted September 6, 2023 8 hours ago, sicoobcooplivre said: The UniCalendarPanel time seems to be 1 hour less than my time! How do I make it understand my local time? This post may help you: Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 6, 2023 Author Share Posted September 6, 2023 @Sherzod Good morning! So, I read the post, applied the code in UniFormCreate to see if it solves it, but I don't think I understood, because it didn't help at all, it still has 1 hour less on the timeline in my event! Could help? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2023 Share Posted September 6, 2023 What is your time zone? Does the standard demo work for you? Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 6, 2023 Author Share Posted September 6, 2023 It was my mistake! I studied the demo and found the solution! Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 8, 2023 Author Share Posted September 8, 2023 @SherzodPlease, could you help me: after loading the entire unicalendarpanel, by clicking on a button, I need to set all events to "isallday=false" , but I wanted to do this via javascript, could you help me? This is all I need to complete my custom calendar! Thank you very much! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 8, 2023 Share Posted September 8, 2023 Hello, 57 minutes ago, sicoobcooplivre said: but I wanted to do this via javascript Why? What about synchronization with the server? Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 8, 2023 Author Share Posted September 8, 2023 @SherzodSynchronization is right, everything worked! There are users who register as IsAllDay=True and there are users who enter the time. And when I clicked a button, I wanted to leave everything as IsAllDay=True so I could display it with more colors, it looks better! And as I already have routines in ClientEvents-ExtEvents-click, I wanted to use this same javascript code and go through all the events and set them to IsAllDay=True. But if you can't do it, no problem! Thanks! Quote Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted September 11, 2023 Author Share Posted September 11, 2023 @SherzodGood afternoon! Please, is there a way to do what I mentioned above? Thank you very much for your attention! 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.