coloring for multi-day event

Hi,

i am using following code for coloring event,

scheduler.templates.event_class=function(start,end,event)
{
if(event.Color != null && event.Color != undefined && event.Color != ‘’)
{
var color = event.Color.substring(1,event.Color.length).toUpperCase();
return “event_”+color;
}

	}

This works fine for single day events. not for multi-day events…
how can I achieve that??

Also how can i change text-color/fore-color in both, week and month view for multi day event?

Also, i have individual color associated with event. i.e. no fix class name can be used here…

Hello,

Please note that scheduler knows about “color” and “textColor” properties. If you can assign value to them then they will be applied automatically.

Best regards,
Ilya