DHTMLX Docs & Samples Explorer

API methods (by category)

  • 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.
  • attachObj - attaches calendar to the input field.
  • detachObj - detaches calendar from the input field.
  • 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.