Hi Michael,
Greetings from Syncfusion Support.
We can set the different color to the slot based on different resources by making use of renderCell event of our scheduler. You can also customize the each resource header and date header using renderCell event based on element type, groupIndex and date attributes.
onRenderCell(args: RenderCellEventArgs): void {
if (args.element.classList.contains('e-work-hours') || args.element.classList.contains('e-work-cells')) {
addClass(
[args.element],
['willsmith', 'alice', 'robson'][parseInt(args.element.getAttribute('data-group-index'), 10)]);
}
if (args.elementType == 'resourceHeader') {
// Here you can add the different color to different resource header based on group index
console.log(args.groupIndex);
}
if (args.elementType == 'dateHeader') {
// Here you can add the different color to different date header based on date
console.log(args.date);
}
}
Related Links:
Kindly try with the above sample and get back to us if you need any further assistance
Regards,
Vinitha