Name | Type | Default | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
backText | String | Back | ||||||||
Sets or gets the tooltip text displayed when the mouse cursor is over the back navigation button. Code example
Set the
Get the
Try it: backText is set to 'Back'
|
||||||||||
columnHeaderHeight | Number | 20 | ||||||||
Sets or gets the Calendar colomn header's height. In the column header are displayed the calendar day names. Code example
Set the
Get the
Try it: columnHeaderHeight is set to 50
|
||||||||||
clearString | String | 'Clear' | ||||||||
Sets or gets the 'Clear' string displayed when the 'showFooter' property is true. Code example
Set the
Get the
Try it: clearString is set to 'Clear'
|
||||||||||
culture | String | default | ||||||||
Sets or gets the jqxCalendar's culture. The culture settings are contained within a file with the language code appended to the name, e.g. jquery.glob.de-DE.js for German. To set the culture, you need to include the jquery.glob.de-DE.js and set the culture property to the culture's name, e.g. 'de-DE'. Code example
Set the
Get the
Try it: culture is set to 'de-DE'
|
||||||||||
dayNameFormat | String | 'firstTwoLetters' | ||||||||
Sets or gets the name format of days of the week. Possible Values:
Code example
Set the
Get the
|
||||||||||
disabled | Boolean | false | ||||||||
Disables (true) or enables (false) the calendar. Can be set when initialising (first creating) the calendar. Code example
Set the
Get the
Try it: disabled is set to true
|
||||||||||
enableWeekend | Boolean | false | ||||||||
Sets or gets a value indicating whether weekend persists its view state. Code example
Set the
Get the
Try it: enableWeekend is set to true
|
||||||||||
enableViews | Boolean | true | ||||||||
Determines whether switching between month, year and decade views is enabled. Code example
Set the
Get the
Try it: enableViews is set to false
|
||||||||||
enableOtherMonthDays | Boolean | true | ||||||||
Sets or gets a value indicating whether the other month days are enabled. Code example
Set the
Get the
|
||||||||||
enableFastNavigation | Boolean | true | ||||||||
Sets or gets a value indicating whether the fast navigation is enabled. Code example
Set the
Get the
|
||||||||||
enableHover | Boolean | true | ||||||||
Sets or gets a value indicating whether the hover state is enabled. The hover state is activated when the mouse cursor is over a calendar cell. The hover state is automatically disabled when the calendar is displayed in touch devices. Code example
Set the
Get the
Try it: enableHover is set to false
|
||||||||||
enableAutoNavigation | Boolean | true | ||||||||
Sets or gets a value indicating whether the auto navigation is enabled. When this property is true, click on other month date will automatically navigate to the previous or next month. Code example
Set the
Get the
|
||||||||||
enableTooltips | Boolean | false | ||||||||
Sets or gets a value indicating whether the tool tips are enabled. Code example
Set the
Get the
Try it: enableTooltips is set to true
|
||||||||||
forwardText | String | Forward | ||||||||
Sets or gets the tooltip text displayed when the mouse cursor is over the forward navigation button.EnableTooltips property should be set to true. Code example
Set the
Get the
Try it: forwardText is set to 'Forward'
|
||||||||||
firstDayOfWeek | Number | 0 | ||||||||
Sets or gets which day to display in the first day column. By default the calendar displays 'Sunday' as first day. Code example
Set the
Get the
Try it: firstDayOfWeek is set to 3
|
||||||||||
height | Number/String | null | ||||||||
Sets or gets the height of the Calendar. Code example
Set the
Get the
Try it: height is set to '200px'
|
||||||||||
min | Date | 1900, 1, 1 | ||||||||
Represents the minimum navigation date. Code example
Set the
Get the
Try it: min is set to (2013, 0, 1)
|
||||||||||
max | Date | 2100, 1, 1 | ||||||||
Represents the maximum navigation date. Code example
Set the
Get the
Try it: max is set to (2017, 0, 1)
|
||||||||||
navigationDelay | Number | 400 | ||||||||
Determines the animation delay between switching views. Code example
Set the
Get the
Try it: navigationDelay is set to 2000
|
||||||||||
rowHeaderWidth | Number | 25 | ||||||||
Sets or gets the row header width. Code example
Set the
Get the
Try it: rowHeaderWidth is set to 30
|
||||||||||
readOnly | Boolean | false | ||||||||
Sets or gets the calendar in read only state. Code example
Set the
Get the
Try it: readOnly is set to true
|
||||||||||
restrictedDates | Array | [] | ||||||||
Sets or gets the calendar's restricted dates. These are dates which cannot be clicked. Code example
Set the
Get the
|
||||||||||
rtl | Boolean | false | ||||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl is set to true
|
||||||||||
stepMonths | Number | 1 | ||||||||
Represents the calendar`s navigation step when the left or right navigation button is clicked. Code example
Set the
Get the
Try it: stepMonths is set to 3
|
||||||||||
showWeekNumbers | Boolean | true | ||||||||
Sets or gets a value whether the week`s numbers are displayed. Code example
Set the
Get the
Try it: showWeekNumbers is set to true
|
||||||||||
showDayNames | Boolean | true | ||||||||
Sets or gets a value whether the day names are displayed. By default, the day names are displayed. Code example
Set the
Get the
Try it: showDayNames is set to false
|
||||||||||
showOtherMonthDays | Boolean | true | ||||||||
Sets or gets a value whether the other month days are displayed. Code example
Set the
Get the
|
||||||||||
showFooter | Boolean | false | ||||||||
Sets or gets a value indicating whether the calendar's footer is displayed. Code example
Set the
Get the
Try it: showFooter is set to true
|
||||||||||
selectionMode | String | 'default' | ||||||||
Sets or gets the selection mode. Possible Values:
Code example
Set the
Get the
Try it: selectionMode is set to 'range'
|
||||||||||
specialDates | Array | new Array() | ||||||||
Sets or gets a special date to the Calendar. Code example
Set the
Get the
|
||||||||||
theme | String | '' | ||||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
||||||||||
titleHeight | Number | 25 | ||||||||
Sets or gets the title height where the navigation arrows are displayed. Code example
Set the
Get the
Try it: titleHeight is set to 50
|
||||||||||
titleFormat | Array | ["MMMM yyyy", "yyyy", "yyyy"] | ||||||||
Sets or gets the title format for the title section. Possible Values:
Code example
Set the
Get the
|
||||||||||
todayString | String | 'Today' | ||||||||
Sets or gets the 'Today' string displayed when the 'showFooter' property is true. Code example
Set the
Get the
Try it: todayString is set to 'Today'
|
||||||||||
value | Date | Today | ||||||||
Sets or gets the Calendar's value. Code example
Set the
Get the
Try it: value is set to (2018, 9, 1)
|
||||||||||
width | Number/String | null | ||||||||
Sets or gets the width of the Calendar. Code example
Set the
Get the
Try it: width is set to '200px'
|
||||||||||
Events |
||||||||||
backButtonClick | Event | |||||||||
This event is triggered when the calendar back navigation button is clicked. Code example
Bind to the
|
||||||||||
change | Event | |||||||||
This event is triggered when the Calendar's selection is changed. Code example
Bind to the
|
||||||||||
nextButtonClick | Event | |||||||||
This event is triggered when the calendar next navigation button is clicked. Code example
Bind to the
|
||||||||||
viewChange | Event | |||||||||
This event is triggered when the Calendar's view is changed. Code example
Bind to the
|
||||||||||
Methods |
||||||||||
clear | Method | |||||||||
Clears the selection.
None Code examples
Invoke the
|
||||||||||
destroy | Method | |||||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxCalendar.
|
||||||||||
focus | Method | |||||||||
Focuses the Calendar.
None Code example
Invoke the
Try it: focus the jqxCalendar.
|
||||||||||
getMinDate | Method | |||||||||
When the getMinDate method is called, the user gets the lowest navigation date set to the Calendar.
Date Code example
Invoke the
|
||||||||||
getMaxDate | Method | |||||||||
When the getMaxDate method is called, the user gets the hightest navigation date set to the Calendar. The retuned value is a JavaScript Date object.
None Code example
Invoke the
|
||||||||||
getDate | Method | |||||||||
When the getDate method is called, the user gets the current month displayed in the Calendar.The returned value is a JavaScript Date Object.
Date Code example
Invoke the
|
||||||||||
getRange | Method | |||||||||
Gets the selection range when the selectionMode is set to 'range'. The returned value is an object with "from" and "to" fields. Each of these is a JavaScript Date Object.
Object - object.from and object.to are javascript date objects. Code example
Invoke the
|
||||||||||
navigateForward | Method | |||||||||
When the navigateForward method is called, the calendar navigates forward with a specific month step(by default 1).
None Code example
Invoke to the
|
||||||||||
navigateBackward | Method | |||||||||
When the navigateBackward method is called, the calendar navigates backward with a specific month step(by default 1).
None Code example
Invoke the
|
||||||||||
render | Method | |||||||||
Renders the Calendar.
None Code example
Invoke the
Try it: renders the jqxCalendar.
|
||||||||||
refresh | Method | |||||||||
Performs a layout and updates the UI.
None Code example
Invoke the
Try it: refresh the jqxCalendar.
|
||||||||||
setMinDate | Method | |||||||||
When the setMinDate method is called, the user sets the lowest date to which it is possible to navigate.
None Code example
Invoke the
|
||||||||||
setMaxDate | Method | |||||||||
When the setMaxDate method is called, the user sets the hightest date to which it is possible to navigate.
None Code example
Invoke the
|
||||||||||
setDate | Method | |||||||||
When the setDate method is called, the user sets the current month displayed in the Calendar. The parameter is a JavaScript Date Object.
None Code example
Invoke the
|
||||||||||
setRange | Method | |||||||||
Sets the selection range when the selectionMode is set to 'range'. The parameters are JavaScript Date Objects.
None Code example
Invoke the
|
||||||||||
today | Method | |||||||||
Sets the Date to Today.
None Code examples
Invoke the
|
||||||||||
val | Method | |||||||||
Gets or sets the jqxCalendar's value.
Date/String - returns date if the passed parameter is "date" Code examples
Invoke the
|