I'm trying the following sample (Adding a Color Bar using Active Areas):
https://doc.daypilot.org/scheduler/row-header-customization/
I've just placed the following code on my scheduler object, but nothing appears.
onBeforeRowHeaderRender: function (args) {
var color = (args.row.index % 2) ? "#cc4125" : "#e69138"; // alternating colors
args.row.areas = [
{ right: 2, top: 2, bottom: 2, width: 6, backColor: color }
];
},
Kind regards.