selects an item in the options list
value | string|number | ID of an option to select |
// master is a control with a popup list of options
var suggest = master.getPopup();
master.setValue(2);
The method doesn't set value for the master control (text, combo, multicombo, richselect, multiselect), it selects an option in the suggest list only.
To set the value of the master control, apply the the setValue method to it.