RealGrid2 API
Interface
DayHoliday

DayHoliday

Public holidays designated as days of the week

Signature:

export interface DayHoliday

Example

  {
      type: "day",
      days : [0, 4],
      styleName: "custom-holiday",
      tooltips : ["Day off","Day off"]
  }

Properties

PropertyTypeDescription
daysnumber[]days of the week
enabledbooleanAvailability
styleNamestringstyle name
tooltipsstring[]Tooltips
type"day"Types of holidays

Properties Desc

days

days of the week

Type - number[]

Remarks:

Each corresponds to 0~6 from Monday to Sunday.


enabled

Availability

Type - boolean


styleName

style name

Type - string


tooltips

Tooltips

Type - string[]


type

type of holiday

Type - "day"