expandcollaps

dhtmlxDblCalendarObject object API

draw(options)
draw calendar
Topic(s):
File required:dhtmlxcalendar.js
  • options - an associate array of options
  • hide()
    hide calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    isVisible()
    get visibility state
    Topic(s):
    File required:dhtmlxcalendar.js
    loadUserLanguage(lang, userCBfunction)
    Set new language interface for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • lang - language (ex: en-us|ru|by)
  • userCBfunction - function called after language loaded
  • minimize()
    minimize calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    setDate(dateFrom,dateTo)
    select date in calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • dateFrom - {Data} date for left calendar
  • dateTo - {Data} date for right calendar
  • setDateFormat(format)
    set date format for input/output
    Topic(s):
    File required:dhtmlxcalendar.js
  • format - format of date to use. see single calendar method description for details
  • setHeader(isVisible, isDrag, btnsOpt)
    set header in calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • isVisible - is header visible
  • isDrag - can calendar be dragged
  • isDrag - can calendar be dragged
  • btnsOpt - the header buttons string
  • setHolidays(dates)
    set holidays dates
    Topic(s):
    File required:dhtmlxcalendar.js
    setOnClickHandler(func)
    set onClick event handler
    Topic(s):
    File required:dhtmlxcalendar.js
  • func - function called after onClick event occured
  • setParent(newParent)
    set parent node for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • newParent - {Object} parent node (container) for calendar
  • setSensitive()
    set sensitive range for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • {Function} function handler
  • setYearsRange(minYear, maxYear)
    set years range
    Topic(s):
    File required:dhtmlxcalendar.js
  • minYear - low bound
  • maxYear - upper bound
  • show()
    show calendar
    Topic(s):
    File required:dhtmlxcalendar.js

    dhtmlxCalendarObject object API

    close(func)
    remove calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    draw(options)
    draw calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    getDate()
    get selected items date
    Topic(s):
    File required:dhtmlxcalendar.js
    Returns:selected items date
    getPosition(oNode,pNode)
    get position one object concerning another
    Topic(s):
    File required:dhtmlxcalendar.js
    hide()
    hide calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    isVisible()
    get visibility state
    Topic(s):
    File required:dhtmlxcalendar.js
    loadUserLanguage(language, userCBfunction)
    Set new language interface for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • lang - language (ex: en-us|ru|by)
  • userCBfunction - function called after language loaded
  • minimize()
    minimize calendar
    Topic(s):
    File required:dhtmlxcalendar.js
    setDate(date)
    select date in calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • date - {Data} current date
  • setDateFormat(format)
    set date format
    Topic(s):
    File required:dhtmlxcalendar.js
  • format - {String} dateformat string contained next sings:
  • setFormatedDate(dateformatarg, date)
    get formated date
    Topic(s):
    File required:dhtmlxcalendar.js
  • dateformat - {String} dateformat string
  • date - date which should be formated
  • dateformatarg - {String} dateformat string contained next sings:
  • date - date which should be formated
  • setFormatedDate(dateformatarg, date)
    get formated date
    Topic(s):
    File required:dhtmlxcalendar.js
  • dateformat - {String} dateformat string
  • date - date which should be formated
  • dateformatarg - {String} dateformat string contained next sings:
  • date - date which should be formated
  • setHeader(isVisible, isDrag, btnsOpt)
    set header in calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • isVisible - is header visible
  • isDrag - can calendar be dragged
  • isDrag - can calendar be dragged
  • btnsOpt - the header buttons string
  • setHolidays(dates)
    set holidays dates
    Topic(s):
    File required:dhtmlxcalendar.js
    setOnClickHandler(func)
    set onClick event handler
    Topic(s):
    File required:dhtmlxcalendar.js
  • func - function called when the date selected
  • setParent(newParent)
    set new parent object for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • newParent - {Object} new parent object for calendar
  • setPosition(argA,argB,argC)
    set position for calendar object
    Topic(s):
    File required:dhtmlxcalendar.js
    setSensitive(fromDate,toDate)
    set sensitive range for calendar
    Topic(s):
    File required:dhtmlxcalendar.js
  • fromDate - {Date} lower band of the range
  • toDate - {Date} upper band of the range
  • setYearsRange(minYear, maxYear)
    set years range
    Topic(s):
    File required:dhtmlxcalendar.js
  • minYear - low bound
  • maxYear - upper bound
  • show()
    show calendar
    Topic(s):
    File required:dhtmlxcalendar.js