Dear all
i would like change color for only ressource with Maintenance Status.
//weekend color and maintenance
dp.onBeforeCellRender = function(args) {
if (args.cell.start.getDayOfWeek() === 0 || args.cell.start.getDayOfWeek() === 6) {
args.cell.backColor = "silver";
}
if (args.resource.status == "Maintenance") {
args.resource.backColor = "silver";
}
};
This code doesn't work. Ok for week-end but not for status.
Thanks a lot for your help