how to color some cells of the scheduler grid Asked by Giorgio3 years ago. hello, I need to color some cells red in the left grid of the scheduler, since they have to be colored according to some constraints, how can I do it? I attach screenshot of the desired behavior thank u how-tojavascript screenshot-2023-07-14-alle-14.08.23.png
Answer posted by Dan Letecky [DayPilot]3 years ago. You can specify properties of the row header cells using the onBeforeRowHeaderRender event handler. In this case, it could look like this: onBeforeRowHeaderRender: args => { if (yourCriteria) { const column = args.row.columns[6]; if (column) { column.backColor = "red"; } } }