| Issue 2188: | Setting the event color in eventRender has no effect until refreshed | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The bug is discussed here: http://stackoverflow.com/questions/7918301/fullcalendar-doesnt-render-color-when-using-eventrender In short, I'm setting event color attributes in the eventRender callback, like so: event.color = color_registry[event.title]; event.backgroundColor = color_registry[event.title]; The event colors all render the same way, but if I switch to a week view, and then back to the month view, colors are properly rendered. Am I doing it wrong? Thanks.
Jun 20, 2014
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
Jun 20, 2014
Why is this invalid? Can you provide a short comment or suggestion? Surely there is a best practice for changing an event's color. Thanks.
Jun 22, 2014
http://arshaw.com/fullcalendar/wiki/Reporting-Bugs/ (needs a reduction and recreation) this is more of a user error not a bug. eventRender is not meant for this. eventDataTransform is more up your alley.
Jun 23, 2014
I see, thanks. I figured the event color would be more related to its rendering than to transformation of its data. Cheers. |
|
| ► Sign in to add a comment |