Object
wijmo.calendar.wijcalendar.options
Object
wijmo.calendar.wijcalendar.options
Name | Description | |
---|---|---|
allowPreview | Default value: false Allows users to preview the next and previous months by hovering over the previousPreview and nextPreview buttons. | |
allowQuickPick | Default value: true Determines whether users can change the view to month/year/decade while clicking on the calendar title. | |
autoHide | Default value: true A boolean property that determines whether to autohide the calendar in pop-up mode when clicking outside of the calendar. | |
calendarWeekRule | Default value: 'firstDay' Defines different rules for determining the first week of the year. | |
culture | Default value: "" Assigns the string value of the culture ID that appears on the calendar for the weekday and title names. | |
cultureCalendar | Default value: "" Assigns the string value of the culture calendar that appears on the calendar. This option must work with culture option. | |
customizeDate | Default value: null Function used for customizing the content, style and attributes of a day cell. | |
dayCols | Default value: 7 Gets or sets the number of day columns that appear in the calendar. This is useful if you want to view more or less calendar days on the calendar month. | |
dayRows | Default value: 6 Gets or sets the number of day rows that appear in the calendar. This is useful if you want to view more or less calendar days on the calendar month. | |
direction | Default value: 'horizontal' Determines the month slide direction. | |
displayDate | Gets or sets the display date for the first month view. You can specify the date via a Date object. | |
duration | Default value: 250 Gets or sets the animation duration in milliseconds. | |
easing | Default value: 'easeInQuad' Sets the type of animation easing effect that users experience when they click the previous or next buttons on the wijcalendar. | |
initialView | Default value: 'day' An option that determines the initial view type of the calendar. | |
maxDate | Determines the maximum date to display. You can specify the maxDate via a Date object. | |
minDate | Determines the minimum date to display. You can specify the minDate via a Date object. | |
monthCols | Default value: 1 Gets or sets the number of calendar months in horizontal direction. | |
monthRows | Default value: 1 Gets or sets the number of calendar months in vertical direction. | |
monthViewTitleFormat | Default value: 'yyyy' Gets or sets the format for the title text in the month view. | |
navButtons | Default value: 'default' Determines the display type of navigation buttons. | |
nextPreviewTooltip | Default value: "" Gets or sets the "next preview" button's ToolTip. | |
nextTooltip | Default value: 'Next' Gets or sets the text for the 'next' button's ToolTip. | |
popupMode | Default value: false A boolean property that determines whether the wijcalendar widget is a pop-up calendar. | |
prevPreviewTooltip | Default value: "" Gets or sets the "previous preview" button's ToolTip. | |
prevTooltip | Default value: 'Previous' Gets or sets the text for the 'previous' button's ToolTip. | |
quickNavStep | Default value: 12 Determines the increase/decrease steps when clicking the quick navigation button. | |
quickNextTooltip | Default value: 'Quick Next' Gets or sets the "quick next" button's ToolTip. | |
quickPrevTooltip | Default value: 'Quick Previous' Gets or sets the "quick previous" button's ToolTip. | |
selectionMode | Gets or sets the date selection mode on the calendar control that specifies whether the user can select a single day, a week, or an entire month. | |
showDayPadding | Default value: false Determines whether to add zeroes to days with only one digit | |
showOtherMonthDays | Default value: true Determines whether to display the days of the next and/or previous month. | |
showTitle | Default value: true A boolean property that determines whether to display the calendar's title. | |
showWeekDays | Default value: true A boolean property that determines whether to display week days. | |
showWeekNumbers | Default value: false Determines whether to display week numbers. | |
title | Default value: null A callback function used to customizing the title text on month view. | |
titleFormat | Default value: 'MMMM yyyy' Gets or sets the format for the title text. | |
toolTipFormat | Default value: 'dddd, MMMM dd, yyyy' Gets or sets the format for the ToolTip. | |
weekDayFormat | Default value: 'short' Gets or sets the format for the week day. |
Name | Description | |
---|---|---|
afterSelect | The afterSelect event handler. A function called after user selects a day by mouse. | |
afterSlide | The afterSlide event handler. A function called after the calendar view slided to another month. Cancellable. | |
beforeSelect | The beforeSelect event handler. A function called before user selects a day by mouse. Cancellable. | |
beforeSlide | The beforeSlide event handler. A function called before the calendar view slides to another month. Cancellable. | |
selectedDatesChanged | The selectedDatesChanged event handler. A function called after the selectedDates collection changed. |