Is the duration bar in the scheduler "hard-coded" to the start and end times of the entry? We have scheduler entries (tasks or jobs) that stretch over several days or weeks and would like to use the duration bar as a "percentage complete", based on properties of the datasource. That way our managers can see the progress of a task at a glance.
Is there a possibility to change the colour of the percentbar from the BeforeEventRender?
Lets say, I want to colour the percentbar in green under 30%, in orange between 31% and 70%, and red if more than 71%?
Comment posted by Dan Letecky [DayPilot] 13 years ago.
You can add custom CSS class to events in BeforeEventRender, depending on the conditions, e.g. "complete30", "complete70", "complete100".
Then define the CSS rules (an example for scheduler_green theme):