I am trying to color the column cells in the scheduler to indicate "today".
I am using
protected override void OnBeforeCellRender(BeforeCellRenderArgs e)
{
if (e.Start.Date == DateTime.Today)
{
e.BackgroundColor = "red";
}
}
but just the first row cell is changing the background color. I already tried "e.CssClass" instead "e.BackgroundColor" but I didn't work as well, just the first row is changing.
I debugged, it is getting inside of the condition more then once but the backgroundcolor is not applied on the div.
Thanks for the reply.