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)

  • toolTip (string) - separator tooltip text (available since 2023.3.5731)

  • width (number) - default value 1 (pixel)

Example

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