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