How can i change event background color in Units View?
Hi,
It can be done the same way you do it in other views
docs.dhtmlx.com/doku.php?id=dhtm … om_styling
check the scheduler.templates.event_class template. If you want color to be applied only in units view, you can check selected view from the template:
scheduler.templates.event_class=function(start,end,event){
if (scheduler.getState().mode == 'units') //check current view name
return "units_view_event"; //css class for units view events
return "";//default value
}