In the normal scheduler, I used the following code from 02_days_coloring sample, to color the weekend days.
scheduler.templates.week_date_class=function(date,today){
if (date.getDay()==0 || date.getDay()==6)
return "weekday";
return "";
};
Is there anything similar for the mobile scheduler that could be used to color the weekend days? By adding a class to the DIVs of the weekend days and setting the relevant CSS?
Thanks for any assistance or suggestions you can provide.
Stanislav’s solution is the only possible way to highlight dates in Calendar (at least in this version).
However, you can show a bar with week days in calendars - possibly it could be used instead.
In this bar Saturday and Sunday slots have special css classes: dhx_saturday and .dhx_sunday respectively. So, you can highlight weekend days in the header: