I'm working on a scheduler using daypilot lite.
I would like to change de color of my duration bar.
I use this event :
protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
string color = e.DataItem["color"] as string;
e.DurationBarColor = color;
but the durationBarColor seems to doesn't work.
I've read the documentation that said that in CSSonly=true, the DurationBarColor property was disabled.
This function works well when CSSonly = false, so i think that's the problem.
So, how can i change the durationBarColor with Cssonly = true ?