The CSS support has been added since that time.
You can take a look here:
www.daypilot.org/month-css-class-styling.html
A special class is applied to day cell, cell header (day number), header (days of week), and event. I've added a new mechanism in build 2117 (see the sandbox), that will help you with your task:
- In BeforeCellRender, you can set a CssClass property. This class will be added to the existing cell classes.
- You can use a code like this to set it to different values depending on a row. You may want to use another week number algorithm (this one will not work properly for weeks starting on Sunday).
protected void DayPilotMonth1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.Month.BeforeCellRenderEventArgs e)
{
e.CssClass = Week.WeekNrISO8601(e.Start)%2 == 0 ? "even" : "odd";
}
But remember to clear the default cell colors (BackColor, NonBusinessBackColor). Otherwise the color set by your CSS will be overriden.