dp.onBeforeCellRender = function(args) {
var start = args.cell.start.getDatePart().value;
var end = args.cell.end.getDatePart().value;
var resource = args.cell.resource;
if ((resource == "Sys_1" ||resource == "Env_1") && ( "2017-01-01T00:00:00" <= start && "2017-01-07T00:00:00" >= end)) {
args.cell.html = "<div style='position:absolute;right:2px;bottom:2px;font-size:8pt;color:#666;'>Refresh</div>";
args.cell.backColor = "#ffffd5";
}
...
}
like this it will set the background color to days and not week scale, if i switch the <= for >= and vice versa the background will be set on week scale but not day scale.
Also on day scale day 7 on jan will have a custom bg color.