addOption(options)
add new option
Topic(s):
File required:dhtmlxcombo.js
value - (variable) - different input for different kinds of options - please refer to examplesclearAll(all)
clear all options from combobox
Topic(s):
File required:dhtmlxcombo.js
value - (bool) clear current value as wellcloseAll()
close opened combobox list
Topic(s):
File required:dhtmlxcombo.js
deleteOption(value)
delete option by value
Topic(s):
File required:dhtmlxcombo.js
value - (string) value of option in questiondestructor()
destroy object and any related HTML elements
Topic(s):
File required:dhtmlxcombo.js
disable(mode)
disable combobox
Topic(s):
File required:dhtmlxcombo.js
mode - (boolean) disable comboboxenableFilteringMode(mode,url,cache,autosubload)
switch between combobox and auto-filter modes
Topic(s):
File required:dhtmlxcombo.js
mode - (boolean) enable filtering modeurl - (string) url for filtering from XML, optionalcache - (boolean) XML caching, optionalautosubload - (boolean) enable auto load additional suggestions on selecting last loaded optionenableOptionAutoHeight(fl,maxHeight)
enables or disables list auto height
File required:dhtmlxcombo_whp.js
flag - (boolean) true/falsemaxHeight - (int) height limitation (if a list height is bigger than maxHeight, a vertical scroll appears)enableOptionAutoPositioning(fl)
enables or disables options auto positioning
File required:dhtmlxcombo_whp.js
flag - (boolean) true/falseenableOptionAutoWidth(fl)
enables or disables options auto width
File required:dhtmlxcombo_whp.js
flag - (boolean) true/falsegetActualValue()
get value which will be sent with form
Topic(s):
File required:dhtmlxcombo.js
getChecked()
gets list of checked options values
File required:dhtmlxcombo_extra.js
getComboText()
get current text in combobox
Topic(s):
File required:dhtmlxcombo.js
getIndexByValue(val)
return index of item by value
Topic(s):
File required:dhtmlxcombo.js
value - (string) value of option in questiongetOption(value)
get Option by value
Topic(s):
File required:dhtmlxcombo.js
value - (string) value of option in questiongetOptionByIndex(ind)
get Option by index
Topic(s):
File required:dhtmlxcombo.js
ind - (int) index of option in questiongetOptionByLabel(value)
get Option by label
Topic(s):
File required:dhtmlxcombo.js
label - (string) label of option in questiongetSelectedIndex()
get index of selected option
Topic(s):
File required:dhtmlxcombo.js
getSelectedText()
get text of selected option
Topic(s):
File required:dhtmlxcombo.js
getSelectedValue()
get value of selected item
Topic(s):
File required:dhtmlxcombo.js
loadXML(url,afterCall)
load list of options from XML
Topic(s):
File required:dhtmlxcombo.js
url - (string) xml urlloadXMLString(astring)
load list of options from XML string
Topic(s):
File required:dhtmlxcombo.js
astring - (string) xml stringopenSelect()
open list of options
Topic(s):
File required:dhtmlxcombo.js
readonly(mode,autosearch)
switch to readonly mode
Topic(s):
File required:dhtmlxcombo.js
mode - (boolean) readonly modeautosearch - (boolean) true by defaultrender(mode)
enable/disable immideatly rendering after changes in combobox
Topic(s):
File required:dhtmlxcombo.js
mode - (boolean) enable/disableselectOption(ind,filter,conf)
select option
Topic(s):
File required:dhtmlxcombo.js
ind - (int) index of option in questionfilter - (boolean) enable autocomplit range, optionalconf - (boolean) true for real selection, false for pre-selectionsetChecked(index)
sets option checked
File required:dhtmlxcombo_extra.js
index - option indexsetComboText(text)
set text in covmbobox
Topic(s):
File required:dhtmlxcombo.js
text - (string) new text labelsetComboValue(text)
set text in covmbobox
Topic(s):
File required:dhtmlxcombo.js
text - (string) new text labelsetDefaultImage(url)
File required:dhtmlxcombo_extra.js
url - url of default imagesetName(name)
set name used while form submit
Topic(s):
File required:dhtmlxcombo.js
name - (string) new combobox namesetOptionHeight(height)
set height of combo list
File required:dhtmlxcombo_whp.js
height - (number) heightsetOptionWidth(width)
set width of combo list
File required:dhtmlxcombo_whp.js
width - (number) widthsetSize(new_size)
change control size
Topic(s):
File required:dhtmlxcombo.js
new_size - (int) new size valueshow(mode)
show combox ( reversion to hide command )
Topic(s):
File required:dhtmlxcombo.js
mode - (boolean) enable/disableunSelectOption()
deselect option
Topic(s):
File required:dhtmlxcombo.js
updateOption(oldvalue, avalue, atext, acss)
update option in combobox
Topic(s):
File required:dhtmlxcombo.js
oldvalue - (string) index of option in questionavalue - (variable)