Hi support,
what is the best way to mark holidays on the schedule but not block the day(s) to create an event on that day?
I can import the holidays of my country via ics file and I want to have a visible mark of the days
First possible solution:
Put a little line on top of the day cell to mark the days of the holiday.
I managed to get this to work in manipulating the styles with eventRendered, but if I have another event on the same day I can't put the holiday event on top of the other event. It seems that if a cell contains several events, they are sorted by their id. So I would end up in having the line blow the other event :-(
(see attached screenshot, where holidays are marked with a red line but are sometimes below other events)
Second solution:
Put another background color to the days of the holiday.
I have tried several ways with eventRendered and renderCell, but it did not work.
I think that this can not work anyway, because the event is stretched over couple of days (and cells) and I have no access to the parentElement.
Can you please help me or give me a hint?
Regards,
Stephan
Attachment:
holidays_marker.png_b0760e6e.zip