addOption()
add new option
Topic(s): Add/delete;
File required:dhtmlxcombo.js
value - (variable) - different input for different kinds of options - please refer to examplesclearAll()
clear all options from combobox
Topic(s): Add/delete;
File required:dhtmlxcombo.js
closeAll()
close opened combobox list
Topic(s): Selection control;
File required:dhtmlxcombo.js
deleteOption(value)
delete option by value
Topic(s): Add/delete;
File required:dhtmlxcombo.js
value - (string) value of option in questiondestructor()
destroy object and any related HTML elements
Topic(s): Initialization;
File required:dhtmlxcombo.js
disable(mode)
disable combobox
Topic(s): Selection control;
File required:dhtmlxcombo.js
mode - (boolean) disable comboboxenableFilteringMode(mode,url,cache)
switch between combobox and auto-filter modes
Topic(s): Initialization;
File required:dhtmlxcombo.js
mode - (boolean) enable filtering modeurl - (string) url for filtering from XML, optionalcache - (boolean) XML cashing, optionalgetActualValue()
get value which will be sent with form
Topic(s): Add/delete;
File required:dhtmlxcombo.js
getComboText()
get current text in combobox
Topic(s): Add/delete;
File required:dhtmlxcombo.js
getIndexByValue(val)
return index of item by value
Topic(s): Add/delete;
File required:dhtmlxcombo.js
value - (string) value of option in questiongetOption(value)
get Option by value
Topic(s): Add/delete;
File required:dhtmlxcombo.js
value - (string) value of option in questiongetOptionByIndex(ind)
get Option by index
Topic(s): Add/delete;
File required:dhtmlxcombo.js
ind - (int) index of option in questiongetSelectedIndex()
get index of selected option
Topic(s): Add/delete;
File required:dhtmlxcombo.js
getSelectedText()
get text of selected option
Topic(s): Add/delete;
File required:dhtmlxcombo.js
getSelectedValue()
get value of selected item
Topic(s): Add/delete;
File required:dhtmlxcombo.js
hide(mode)
hide combobox
Topic(s): Selection control;
File required:dhtmlxcombo.js
mode - (boolean) hide comboboxloadXML(url)
load list of options from XML
Topic(s): Initialization;
File required:dhtmlxcombo.js
url - (string) xml urlreadonly(mode)
switch to readonly mode
Topic(s): Selection control;
File required:dhtmlxcombo.js
mode - (boolean) readonly moderender(mode)
enable/disable immideatly rendering after changes in combobox
Topic(s): Selection control;
File required:dhtmlxcombo.js
mode - (boolean) enable/disableselectOption(ind,filter)
select option
Topic(s): Selection control;
File required:dhtmlxcombo.js
ind - (int) index of option in questionfilter - (boolean) enable autocomplit range, optionalsetComboText(text)
set text in covmbobox
Topic(s): Add/delete;
File required:dhtmlxcombo.js
text - (string) new text labelsetName(name)
set name used while form submit
Topic(s): Add/delete;
File required:dhtmlxcombo.js
name - (string) new combobox nameshow(mode)
show combox ( reversion to hide command )
Topic(s): Selection control;
File required:dhtmlxcombo.js
mode - (boolean) enable/disableunSelectOption()
deselect option
Topic(s): Selection control;
File required:dhtmlxcombo.js
updateOption(oldvalue, value, text, css)
update option in combobox
Topic(s): Add/delete;
File required:dhtmlxcombo.js
oldvalue - (string) index of option in questionvalue - (string) new valuetext - (string) new labelcss - (string) new css style string