DayPilot.Scheduler.durationBarMode

The durationBarMode property (string) sets the duration bar mode. 

  • In the "Duration" mode the bar displays the real event duration (when event boxes are active, see also Exact Event Duration).
  • In the "PercentComplete" mode the bar displays percentage set using DayPilot.Event.data "complete" property

Possible Values

"Duration" | "PercentComplete"

Default Value

"Duration"

Example

dp.durationBarMode = "PercentComplete";