DayPilot.Scheduler.separators

The separators property (array) defines separators displayed by the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.separators (array)

Default Value

null

Description

Separator object structure:

  • cssClass (string)
  • color (string)
  • layer (string) - "AboveEvents" | "BelowEvents" (default value is "BelowEvents")
  • location (DayPilot.Date)
  • opacity (number) - in percent (0-100)
  • width (number) - default value 1 (pixel)

Example

dps.separators =  [
  {
    color:"red",
    location:"2015-03-29T00:00:00",
    layer: "BelowEvents"
  }
];