DHTMLX Docs & Samples Explorer
Index
dhtmlxcalendar
API methods
attachEvent
- attaches a handler to calendar's event.
attachObj
- attaches calendar to the input field.
clearTooltip
- removes the tooltip set by the
setTooltip
method.
clearInsensitiveDays
- enables dates disabled by the
setInsensitiveDays
method.
clearSensitiveRange
- enables dates disabled by the
setInsensitiveRange
,
setSensitiveRange
methods. Makes all dates in calendar active.
detachEvent
- removes an event handler.
detachObj
- detaches calendar from the input field.
disableDays
- disables certain dates of each week, month or year.
enableDays
- enables dates disabled by the
disableDays
method.
getCellDimension
- returns x,y,width,heigth of cell of specified date.
getDate
- returns the currently selected date.
getFormatedDate
- makes the date defined in the specified format selected.
getPopup
- returns dhtmlXPopup instance created by
setTooltip
getWeekNumber
- returns the week number of the specified date.
hide
- hides the calendar.
hideWeekNumbers
- hides the column with weeks numbers at the left side of the calendar.
hideTime
- hides the time panel.
isVisible
- checks whether the calendar is currently visible.
loadUserLanguage
- sets a new language interface for calendar.
setDate
- makes the specified date selected.
setDateFormat
- sets date format.
setFormatedDate
- makes the date defined in the specified format selected.
setHolidays
- sets date(s) as holiday(s).
setInsensitiveDays
- sets certain dates as inactive.
setInsensitiveRange
- sets a range of inactive dates in calendar (such dates are dimmed).
setMinutesInterval
- sets the time interval (in minutes) for the predefined values in the time selector
setParent
- sets parent node (container) for calendar.
setPosition
- sets the position pop-up calendar will appear from.
setSensitiveRange
- sets a range of sensitive(active) dates in calendar.
setSkin
- sets skin for calendar.
setTooltip
- sets the tooltip for the specified date.
setWeekStartDay
- sets the start day of weeks.
show
- shows the calendar.
showMonth
- makes the specified date is currently visible in the calendar.
showWeekNumbers
- adds a column with weeks numbers to the left side of the calendar.
showTime
- shows the time panel.
unload
- destructor, unloads calendar and clears memory (called automatically when page is reloaded).