can't set color in cell when getDayOfWeek() == 7

Asked by Anonymous
9 years ago.

dp.onBeforeCellRender = function(args) {
if (args.cell.start.getDayOfWeek() == 7) { // does not work but == 6 or 5 or 4... it work
args.cell.backColor = "#EDED9F";
}
};

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.