Hi.
I'm missing something obvious. I want to apply a background color to the parent rows.
I have this preventing clicking on the parent rows
treePreventParentUsage: true,
And this to grey out the latter part of Fridays:
dp.onBeforeCellRender = function (args) {
if (args.cell.start.getDayOfWeek() === 5 && args.cell.start.getHours() > 11|| args.cell.resource === "D") {
args.cell.backColor = "#ccc";
}
};
But I' cannot work out how to apply "#ccc" to the background of parent rows!
Can you help?
Thank you.