jahlxx Posted December 14, 2016 Share Posted December 14, 2016 I'll try to do what I'm looking for in other way, using calendarpanel instead of calendar (as in a prior topic). Changing unicalendar to unicalendar panel I think it could be more easy for me. But I have the same questions: - How can I highlight a day in a calendar panel where exists events? - How can hide the elements red-boxed in the attached image? (this is not important at all) (are the days of the prior and next month) - How can I get better the aspect ob the elements black-boxed attached image? Thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted December 14, 2016 Author Share Posted December 14, 2016 With these I think that I can have something similar to year view. Link to comment Share on other sites More sharing options...
jahlxx Posted December 15, 2016 Author Share Posted December 15, 2016 Hi. And other question. When click in an event, a popup windows appears, showing event info. Can I deactivate this behaviour? Could be better for me, in an event click, do the same as in dayclick. Thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted December 15, 2016 Author Share Posted December 15, 2016 I've found this, for the 3rd questions in my first entry of this topic. function beforeInit(sender, config){ config.monthViewCfg = { showHeader: true, }} but with this, the first day of week is allways sunday. I've the firstdayofweek property of the calendar set to monday, but with this piece of code, allways is set to sunday. I don't know why. Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 function beforeInit(sender, config) { config.monthViewCfg = { showHeader: true, startDay: 1 } } Link to comment Share on other sites More sharing options...
jahlxx Posted December 15, 2016 Author Share Posted December 15, 2016 ok. works. to have what I need, "only" need this: - highlight a day in a calendar panel where exists events? - When click in an event, a popup windows appears, showing event info. Can I deactivate this behaviour? Could be better for me, in an event click, do the same as in dayclick thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 - highlight a day in a calendar panel where exists events? Are you using only "MonthView" ?! Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 - When click in an event, a popup windows appears, showing event info. Can I deactivate this behaviour? Could be better for me, in an event click, do the same as in dayclick Can you clarify ? Link to comment Share on other sites More sharing options...
jahlxx Posted December 15, 2016 Author Share Posted December 15, 2016 yes, only month view. I don't want a popup message window when click in an event. I'd like eventclick do nothing or do the same effect that dayclick. You can see in the image attached what appears when event click (is a sample) Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 I don't want a popup message window when click in an event. I'd like eventclick do nothing or do the same effect that dayclick. Maybe you wanted like this ?!: procedure TMainForm.UniCalendarPanel1EventClick(Sender: TUniCalendarPanel; AEventId: Integer; AEvent: TUniCalendarEvent); begin {if not EventEditForm.Visible then begin EventEditForm.Calenedar:=UniCalendarPanel1; EventEditForm.SetEvent(AEvent); EventEditForm.ShowModal; end;} end; Link to comment Share on other sites More sharing options...
jahlxx Posted December 15, 2016 Author Share Posted December 15, 2016 Not exactly. As I can see, my "problems" are due to the size of the calendar panel. If the size of the panel is height and width enouh, the events appears colored and don¡t show window on event click (you can see in attached image). Has any solution? Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 Ok I seeWe will try Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2016 Share Posted December 15, 2016 I don't want a popup message window when click in an event. Try this: function beforeInit(sender, config) { config.monthViewCfg = { showHeader: true, startDay: 1, onMoreClick: Ext.emptyFn } } Link to comment Share on other sites More sharing options...
jahlxx Posted December 16, 2016 Author Share Posted December 16, 2016 ok. thanks Link to comment Share on other sites More sharing options...
jahlxx Posted April 19, 2017 Author Share Posted April 19, 2017 Hi. Is possible to have year view in calendar panel? Thanks. 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