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

e.DurationBarColor

Asked by Mortaurat
6 years ago.

Hi,
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;
if (!String.IsNullOrEmpty(color))
{
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 ?

Thanks

Comment posted by Mortaurat
6 years ago.

Does someone have the same issue ?

Thanks

Comment posted by Mortaurat
6 years ago.

Hi,
Someone can tell me if there is a solution ?
Thanks

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