Customise the background color of a cell in the header

hello ,

is there a way to change the background color of one cell in the scheduler’s header ? for example : color the cell of January in blue and the cell of February in grey …

thank you.


do like

scheduler.attachEvent(“onViewChange”, function (new_mode, new_date){
var headerDiv = document.querySelector(“div.dhx_cal_date”).style;
if (new_date.getMonth() == 5 )
headerDiv.color = “red”; //backgroundColor
headerDiv.color = “”;

If you want to change the css style for a day cell, use month_date_class template … lates.html

you can define a classname for a header elements using ‘viewName_scalex_class’ template, please see the example

thank you very much