search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

change the color

Asked by naruto
5 years ago.

I have a question.
Can I change the color of each line?
It is A, B, A, B.
Can I change the color of a cell on Sunday?

Answer posted by Dan Letecky [DayPilot]
5 years ago.

You can set the grid cell color using BeforeCellRender event handler.

Alternate row colors:

Note that BeforeCellRender/e.X and e.Y are available since build 8.3.3573 (available in the sandbox at

Highlighting weekends (Saturday/Sunday):

Comment posted by naruto
5 years ago.

protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
if (e.Y%2 == 1)

e.Y is nothing.
What is the parameter of the number of rows.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.