New to KendoReactStart a free 30-day trial

Represents the props of the KendoReact MultiViewCalendar component. The generic argument is passed to the onChange property and is used as a target in the MultiViewCalendarChangeEvent interface.

Definition

Package:@progress/kendo-react-dateinputs

Properties

Specifies which end of the defined selection range will be marked as active.

If the selection range is undefined, the value is ignored.

If set to true, the component skips the validation of whether the from value is after the to value.

Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.

Identifies the element(s) which will label the component.

Defines the bottommost view to which the user can navigate.

cell?

ComponentType​<CalendarCellProps>

Enables the customization or the override of the default MultiViewCalendar cell (see example).

Sets the className of the MultiViewCalendar.

Sets the default active view of the MultiViewCalendar. If not set, the MultiViewCalendar displays the month view.

defaultValue?

null | Date | Date[] | SelectionRange

Sets the default value of the MultiViewCalendar.

disabled?

boolean

Determines whether the MultiViewCalendar is disabled.

Sets the initial focused date of the MultiViewCalendar.

Enables the customization or the override of the default header title in the MultiViewCalendar (see example).

id?

string

Sets the id of the MultiViewCalendar.

max?

Date

Sets the maximum allowed date of the MultiViewCalendar. Defaults to 2099-12-31.

min?

Date

Sets the minimum allowed date of the MultiViewCalendar. Defaults to 1900-1-1.

Sets the selection mode of the MultiViewCalendar.

The available modes are:

  • (Default) single—Renders a single-date selection.
  • multiple—Renders a multiple-date selection.
  • range—Renders a date-range selection.

onBlur?

(event: FocusEvent​<any, Element>) => void

Fires each time the MultiViewCalendar is blurred.

Parameters:eventFocusEvent​<any, Element>

An event that is called after the value of the MultiViewCalendar has changed. The new value is generated based on the current mode of the MultiViewCalendar.

Parameters:eventMultiViewCalendarChangeEvent​<T>

onFocus?

(event: FocusEvent​<any, Element>) => void

Fires each time the MultiViewCalendar is focused.

Parameters:eventFocusEvent​<any, Element>

Displays the days that fall out of the current month.

tabIndex?

number

Sets the tabIndex property of the MultiViewCalendar.

Defines the topmost view to which the user can navigate.

value?

null | Date | Date[] | SelectionRange

Sets the value of the MultiViewCalendar. Based on the value type, the MultiViewcalendar renders a single, multiple, or range selection.

views?

number

Sets the views property of the MultiViewCalendar and defines the number of rendered views.

Enables the customization or the override of the default week cell in the MultiViewCalendar (see example).

Specifies the possible format options for the displayed Calendar week days' names.

Default:

short

Determines if the week number column will be displayed.