The separators property (array) defines separators displayed by the JavaScript Scheduler component.
DayPilot.Scheduler.separators (array)
null
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)
dps.separators = [
{
color:"red",
location:"2025-03-29T00:00:00",
layer: "BelowEvents"
}
];