I need to change the colour of the event based on data values.
I understand I need to modify the CssClass property in the BeforeCellRender event - but how do I get access to the current event data in this event? BeforeCellRender has the tag property to get the data but has no CssClass property to modify. Based on the data (in the tag property) I need to change the CssClass which defines how the event is displayed. How can I do this?
You can change this the scheduler "BeforeEventRender" event
Here I advise you to create your own layout, using labels, divs, ...
this can be done using the "e.tag" values you get from your event.
Once you've got the layout you want, place it, into the e.InnerHTML
(or thats what I did..)
Ok - I was hoping to be able to just change the cssclass - but this should work too.
You can add a custom class to the event div using e.CssClass in BeforeEventRender.
More on how this works: