Calendar API

Methods
clear clears the value set in the calendar
destructor removes a calendar instance and releases occupied resources
getCurrentMode returns the current mode of displaying Calendar
getValue returns the selected date
link links a calendar to another calendar for selecting a date range
paint repaints a calendar on a page
setValue selects a date in the calendar
showDate shows a specified date and/or opens the calendar in one of the available modes
Events
beforeChange fires before the change of date selection
cancelClick fires when the user clicks on the "Cancel" control
change fires on change of date selection
dateHover fires when the mouse pointer is over a date
dateMouseOver fires when the mouse pointer is over a date
modeChange fires on change of the calendar mode
monthSelected fires after a month was selected in the calendar
yearSelected fires after a year was selected in the calendar
Properties
block allows disabling some date intervals, day labels are dimmed
css adds style classes to Calendar
date defines the date that will be opened when the calendar is created
dateFormat defines the format of dates in –°alendar
disabledDates allows disabling some date intervals, day labels are dimmed
mark adds a CSS class to specific days
mode the mode of Calendar initialization
range enables/disables the possibility to select a range of dates on the calendar
thisMonthOnly hides dates of the previous/next months relative to the currently displayed one
timeFormat defines the time format for a timepicker in the calendar
timePicker adds a timepicker into the calendar
value selects the day (adds a round blue marker)
view the mode of Calendar initialization
weekNumbers defines whether to show the numbers of weeks
weekStart sets the starting day of the week
width sets the width of the calendar
Back to top