Show name on the resource on the Scheduler header

I need to show the name of the resource in the Day View whose calendar is displayed, just like in the Units view, without using the Units View. Is it possible?

Do you want to show the name in the text of event ?

You can redefine event’s template
docs.dhtmlx.com/scheduler/day_vi … lates.html

and, inside of template function, you can use getLabel call to get the resource label by id
docs.dhtmlx.com/scheduler/api__s … label.html

I need to show the name on the header of the scheduler along with the date. At scheduler.templates.day_scale_date

Then you can redefine day_scale_date template

scheduler.templates.day_scale_date = function(date){ return scheduler.date.date_to_str(scheduler.config.default_date) + " " + name; };

Where name - name of the resource.

Getting the following error when I do the above mentioned fix
in the header it shows this
function anonymous(date){return"" + date.getDate()+"

instead of the date and name of the resource.

This the test code

slotFinderScheduler1.templates.day_scale_date = function(date){
return (slotFinderScheduler1.date.date_to_str(slotFinderScheduler1.config.default_date)) + “Test” ;
};

Tried this also

slotFinderScheduler1.templates.day_scale_date = function(date){
return slotFinderScheduler1.date.date_to_str(slotFinderScheduler1.config.default_date) + " " + “Test” ;
};

still same error

Sorry, my mistake
The valid code will be

var format = scheduler.date.date_to_str(scheduler.config.default_date); scheduler.templates.day_scale_date = function(date){ return format(date) + " " + name; };