Hi
i used below for coloring in month view its applied for single and updated event but not for recurring one.Any help
scheduler.templates.event_bar_date = function(start,end,ev){
if(my condition){
ev.color = "#E5EFFD";
}else
ev.color = "#CCD0C7";
}
return "<b>"+scheduler.templates.event_date(start)+"</b> ";
}
Hi,
setting the color in a header template might be not the best idea. The result will depend on order in which templates will be called (such coloring work only in case date template will be called before component generates inline css for event box), which may be changed with any update.
Try using event_class template for dynamic coloring
docs.dhtmlx.com/scheduler/api__s … plate.html
Thanks a lot working awesome.