Adding Css Class to day header

Hi

If anyone can tell me how i can give CSS class to calendar day header… ( dhx_scale_bar )
Where dates and Date name are mentioned on top in below screenshot .

It’ll be great help to me.
Regards

Waiting for anyone to reply Please.

Hi,

Try to use week_scale_date template to solve this issue
https://docs.dhtmlx.com/scheduler/week_view_templates.html

Just wrap the date into the container with CSS class

var format = scheduler.date.date_to_str(scheduler.config.day_date);
scheduler.templates.week_scale_date = function(date){
    return "<div class='className'>" + format(date) + "</div>";
};

But this class will not be added for the element with class dhx_scale_bar. If it is critical for you, the only possible way is adding a new class to the element manually,