Yes, this is possible:
1. Specify your data source field by setting DayPilotCalendar.DataTagField. The values in this field get converted to string and are passed as Tag to BeforeEventRender event handler (see below).
2. Handle BeforeEventRender event (double-clicking on the event in Properties window in Visual Studio will create DayPilotCalendar1_BeforeEventRender).
3. Change the background color in the event handler (your special field is accessible as e.Tag):
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{
switch (e.Tag)
{
case "something":
e.BackgroundColor = "red";
break;
case "somethingelse":
e.BackgroundColor = "#00ff00";
break;
}
}
It's also possible to change color of the column on the left side by setting e.LeftBarColor or modify the event content by setting e.InnerHTML.
I'm still working on the documentation and I hope to get it online soon.
Any other questions are welcome.