Page 1 of 1

[REACT] There is something similar to property 'eventStyle' in Calendar like the Scheduler

Posted: Thu Jun 01, 2023 5:39 pm
by bluecraziness1

I'm trying to persist the style of the event for 2 types of events [A,B], one is plain and the other is colored, the problem is in the differents view of Calendar, cause in month and year all the events are 'plain' but in week and day are 'colored'.

There is a property to change the style of the event (the styles provided on Scheduler) in the Calendar for the all views?


Re: [REACT] There is something similar to property 'eventStyle' in Calendar like the Scheduler

Posted: Thu Jun 01, 2023 6:22 pm
by Animal

All day events are solid by default.

Intra day events are text.

This is quite a standard UI:

Google:

Screenshot 2023-06-01 at 18.18.43.png
Screenshot 2023-06-01 at 18.18.43.png (22.43 KiB) Viewed 239 times

Apple:

Screenshot 2023-06-01 at 18.19.16.png
Screenshot 2023-06-01 at 18.19.16.png (32.2 KiB) Viewed 239 times

You can set the renderData to use a solid bar in an event renderer like this example does: https://bryntum.com/products/calendar/examples/resource-avatars/