Wijmo UI for the Web
wijcalendar jQuery Widget
Show a single month or a table of months with customizable styles and navigation elements.
Syntax
$(function () {
    var options; // Type:  wijmo.calendar.wijcalendar.options
     
    $(".selector").wijcalendar(options);
});
function wijcalendar() : any;
Options
 NameDescription
public Option

Default value: false

Allows users to preview the next and previous months by hovering over the previousPreview and nextPreview buttons.

 
public Option

Default value: true

Determines whether users can change the view to month/year/decade while clicking on the calendar title.

 
public Option

Default value: true

A boolean property that determines whether to autohide the calendar in pop-up mode when clicking outside of the calendar.

 
public Option

Default value: 'firstDay'

Defines different rules for determining the first week of the year.

 
public Option

Default value: ""

Assigns the string value of the culture ID that appears on the calendar for the weekday and title names.

 
public Option

Default value: ""

Assigns the string value of the culture calendar that appears on the calendar. This option must work with culture option.

 
public Option

Default value: null

Function used for customizing the content, style and attributes of a day cell.

 
public Option

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.

 
public Option

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.

 
public Option

Default value: 'horizontal'

Determines the month slide direction.

 
public Option

Gets or sets the display date for the first month view. You can specify the date via a Date object.

 
public Option

Default value: 250

Gets or sets the animation duration in milliseconds.

 
public Option

Default value: 'easeInQuad'

Sets the type of animation easing effect that users experience when they click the previous or next buttons on the wijcalendar.

 
public Option

Default value: 'day'

An option that determines the initial view type of the calendar.

 
public Option

Determines the maximum date to display. You can specify the maxDate via a Date object.

 
public Option

Determines the minimum date to display. You can specify the minDate via a Date object.

 
public Option

Default value: 1

Gets or sets the number of calendar months in horizontal direction.

 
public Option

Default value: 1

Gets or sets the number of calendar months in vertical direction.

 
public Option

Default value: 'yyyy'

Gets or sets the format for the title text in the month view.

 
public Option

Default value: 'default'

Determines the display type of navigation buttons.

 
public Option

Default value: ""

Gets or sets the "next preview" button's ToolTip.

 
public Option

Default value: 'Next'

Gets or sets the text for the 'next' button's ToolTip.

 
public Option

Default value: false

A boolean property that determines whether the wijcalendar widget is a pop-up calendar.

 
public Option

Default value: ""

Gets or sets the "previous preview" button's ToolTip.

 
public Option

Default value: 'Previous'

Gets or sets the text for the 'previous' button's ToolTip.

 
public Option

Default value: 12

Determines the increase/decrease steps when clicking the quick navigation button.

 
public Option

Default value: 'Quick Next'

Gets or sets the "quick next" button's ToolTip.

 
public Option

Default value: 'Quick Previous'

Gets or sets the "quick previous" button's ToolTip.

 
public Option

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.

 
public Option

Default value: false

Determines whether to add zeroes to days with only one digit

 
public Option

Default value: true

Determines whether to display the days of the next and/or previous month.

 
public Option

Default value: true

A boolean property that determines whether to display the calendar's title.

 
public Option

Default value: true

A boolean property that determines whether to display week days.

 
public Option

Default value: false

Determines whether to display week numbers.

 
public Option

Default value: null

A callback function used to customizing the title text on month view.

 
public Option

Default value: 'MMMM yyyy'

Gets or sets the format for the title text.

 
public Option

Default value: 'dddd, MMMM dd, yyyy'

Gets or sets the format for the ToolTip.

 
public Option

Default value: 'short'

Gets or sets the format for the week day.

 
Top
Methods
 NameDescription
public MethodCloses the calendar if it is in the pop-up state.  
public MethodRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodGets the valid display date.  
public MethodGets the currently selected date.  
public MethodDetermines whether the calendar is in the pop-up state.  
public MethodPops up the calendar at specifies position.  
public MethodPops up the calendar at the specified X and Y coordinates in the document.  
public MethodRefreshes the calendar.  
public MethodRefereshes a single date on the calendar.  
public MethodSelects the specified date.  
public MethodClears any selections from dates on the calendar, removing them from the selectedDates collection.  
public MethodClears any selection from the specified date.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventThe afterSelect event handler. A function called after user selects a day by mouse.  
public EventThe afterSlide event handler. A function called after the calendar view slided to another month. Cancellable.  
public EventThe beforeSelect event handler. A function called before user selects a day by mouse. Cancellable.  
public EventThe beforeSlide event handler. A function called before the calendar view slides to another month. Cancellable.  
public EventThe selectedDatesChanged event handler. A function called after the selectedDates collection changed.  
Top
See Also

Widgets

Calendar

Reference

wijcalendar jQuery Widget