If I am using the timeline view, how do I make weekends a different color from the rest of the weekdays? For example, how to change the weekend background color to say light yellow. I have tried using this but if that month does not contain a event then the color does not change.
scheduler.templates.timeline_cell_class = function(evs, x, y) {
if (x.getDay() == 6 || x.getDay() == 0) {
return getWeekendClass();
}
};
var getWeekendClass = function() {
return "weekend_cell";
};
If you still need an answer, the only thing you need to do is:
where scheduler_weekends is something like:
This will show weekends in yellow in all views except month view. For it to show in month view, you have to add to your CSS: