DHTMLX Docs & Samples Explorer
Index
dhtmlxcalendar
API methods
attachEvent
- attaches a handler to calendar's event.
attachObj
- attaches calendar to the input field.
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.
getDate
- returns the currently selected date.
hide
- hides 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).
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.
setWeekStartDay
- sets the start day of weeks.
show
- shows the calendar.
showMonth
- makes the specified date is currently visible in the calendar.
showTime
- shows the time panel.
unload
- destructor, unloads calendar and clears memory (called automatically when page is reloaded).