DHTMLX Docs & Samples Explorer

Index
dhtmlxcombo

## dhtmlxCombo API Methods

#### dhtmlXCombo Object

addOption adds new option

attachEvent attaches any user-defined event handler to available events

clearAll clears all options from combobox

closeAll closes opened combobox list

confirmValue confirms the entered value (can be called on form submit)

deleteOption deletes option by value

destructor destroys object and any related HTML elements

detachEvent removes an event handler

disable disables combobox

enableFilteringMode switches between combobox and auto-filter modes

enableOptionAutoHeight enables or disables list auto height

enableOptionAutoPositioning enables or disables options auto positioning

enableOptionAutoWidth enables or disables options auto width

getActualValue gets value which will be sent with form

getChecked gets list of checked options values

getComboText gets current text in combobox

getIndexByValue returns index of item by value

getOption gets Option by value

getOptionByIndex gets Option by index

getOptionByLabel gets Option by label

getSelectedIndex gets index of selected option

getSelectedText gets text of selected option

getSelectedValue gets value of selected item

loadXML loads list of options from XML

loadXMLString loads list of options from XML string

openSelect opens list of options

readonly switches to readonly mode

render enables/disables immideatly rendering after changes in combobox

selectOption selects option

setChecked sets option checked

setComboText sets text in combobox

setComboValue sets text in combobox

setDefaultImage

setName sets name used while form submit

setOptionHeight sets height of combo list

setOptionWidth sets width of combo list

setSize changes control size

show shows combox ( reversion to hide command )

unSelectOption unselects option

updateOption updates option in combobox

#### dhtmlXRange Object