can't set color in cell when getDayOfWeek() == 7
Asked by Anonymous
9 years ago.
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";
}
};
DayPilot