new BackgroundOptions()
The BackgroundOptions object defines options to show different parts of the control, and it is stored by background option of the Schedule.Options
For instance, the "majorTimeRulerColor" option:
background: { majorTimeRulerColor: "red" }shows the major-rulers of the schedule panel in red
Members
(static) eventContinueDay :string
The eventContinueDay field specifies the up/down/keft/right arrow's color when event continues on previously or next day (multi-dates event), single-date event starts before time-scale's start time, ends after time-scale's end time.
Type:
- string
Example
null {null} or "transparent" {string} hides the event's up/down arrow(s)
"red" {string} shows the event's up/down arrow(s) in red
eventContinueDay
(static) groupingButtonCaption :string
The groupingButtonCaption field specifies the caption of the header's grouping-button.
Type:
- string
Example
null {null}, show the horizontal ellipsis (three horizontal dots)
"" {string}, hides the caption for all grouping-buttons
"+" {string}, displays '+' character for all grouping-buttons
groupingButtonCaption
(static) majorTimeRulerColor :string
The majorTimeRulerColor field specifies the color of the major ruler line, within the schedule panel.
Type:
- string
Example
null {null} hides the lines
"red" {string} shows the ruler in red
majorTimeRulerColor
(static) majorTimeRulerStyle :any
The majorTimeRulerStyle field specifies the style of the major ruler line, within the schedule panel.
Type:
- any
Example
null {null}, defines a solid line
[] {array}, indicates a solid line
2 {number}, will become [2, 2, ...]
[5, 15, 25] {array}, will become [5, 15, 25, 5, 15, 25, ...]
majorTimeRulerStyle
(static) timeScaleMajorTimeRulerColor :string
The timeScaleMajorTimeRulerColor field specifies the color of the timeScaleMajor ruler line, within the time-scale panel.
Type:
- string
Example
null {null} hides the lines
"red" {string} shows the ruler in red
timeScaleMajorTimeRulerColor
(static) timeScaleMajorTimeRulerStyle :any
The timeScaleMajorTimeRulerStyle field specifies the style of the timeScaleMajor ruler line, within the time-scale panel.
Type:
- any
Example
null {null}, defines a solid line
[] {array}, indicates a solid line
2 {number}, will become [2, 2, ...]
[5, 15, 25] {array}, will become [5, 15, 25, 5, 15, 25, ...]
timeScaleMajorTimeRulerStyle
(static) timeScaleMinorTimeRulerColor :string
The timeScaleMinorTimeRulerColor field specifies the color of the timeScaleMinor ruler line, within the time-scale panel.
Type:
- string
Example
null {null} hides the lines
"red" {string} shows the ruler in red
timeScaleMinorTimeRulerColor
(static) timeScaleMinorTimeRulerStyle :any
The timeScaleMinorTimeRulerStyle field specifies the style of the timeScaleMinor ruler line, within the time-scale panel.
Type:
- any
Example
null {null}, defines a solid line
[] {array}, indicates a solid line
2 {number}, will become [2, 2, ...]
[5, 15, 25] {array}, will become [5, 15, 25, 5, 15, 25, ...]
timeScaleMinorTimeRulerStyle