Interface IIgrCalendarProps

Hierarchy

Hierarchy

Properties

activeDate?: Date

Sets the date which is shown in view and is highlighted. By default it is the current date.

activeView?: string | CalendarActiveView

The current active view of the component.

change?: ((s, e) => void)

Type declaration

children?: ReactNode
className?: string
disabledDates?: IDateRangeDescriptor[]

Gets/Sets the disabled dates for the component.

formatOptions?: IgrCalendarFormatOptions

The options used to format the months and the weekdays in the calendar views.

headerOrientation?: string | CalendarHeaderOrientation

The orientation of the calendar header.

hideHeader?: string | boolean

Whether to render the calendar header part. When the calendar selection is set to multiple the header is always hidden.

hideOutsideDays?: string | boolean

Whether to show the dates that do not belong to the current active month.

id?: string
locale?: string

Gets/Sets the locale used for formatting and displaying the dates in the component.

orientation?: string | CalendarOrientation

The orientation of the calendar months when more than one month is being shown.

resourceStrings?: IgrCalendarResourceStrings

The resource strings for localization.

selection?: string | CalendarBaseSelection

Sets the type of selection in the component.

showWeekNumbers?: string | boolean

Whether to show the week numbers.

specialDates?: IDateRangeDescriptor[]

Gets/Sets the special dates for the component.

style?: CSSProperties
value?: Date
values?: Date[]
visibleMonths?: string | number

The number of months displayed in the days view.

weekStart?: string | WeekDays

Gets/Sets the first day of the week.