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

How do you control the top border of event, remove it, use a different color, etc.

Asked by Peter D
9 years ago.

http://www.daypilot.org/demo/Scheduler/LimitEventMoving.aspx

The demo above has numerous events some with a blue top border while otherwise with different shades of red.

I would like to know how to remove it or control what color shows?

Thanks

Answer posted by requirer
9 years ago.

protected void Scheduler_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{

if (condition)
{
e.DurationBarColor = "green";
}

if (else)
{
e.DurationBarColor = "red";
}

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