BeforeCellRender is only working on the top row
10 years ago.
I'm tryhing to split, as in the screenshot attached, the scheduler into sections for a client. I have done the following in the BeforeCellRender subroutine (using VB)
If e.IsBusiness Then
If tmStart < tmBreak1 Then
e.BackgroundColor = "#FEFC8D"
ElseIf tmStart >= tmBreak1 And tmStart < tmBreak2 Then
e.BackgroundColor = "#ACFFA5"
Else
e.BackgroundColor = "#A5E0FF"
End If
Else
e.BackgroundColor = "#D5CFB3"
End If
but as you can see, it's only affecting the top row. What's going on?
DayPilot