First option highlighted

Hello,

Im using autocomplete combo with filtering enabled.

How can i make my first item highlighted when complete drop down is shown on click of arrow.

When we click on dropdown by default i want to display all item in list with first item highlighted.

How can i achive this.

Plz help me.


Hello,


You can try to use the following method:


combo.attachEvent(“onOpen”,function(){
window.setTimeout(function(){
var index = combo.getSelectedIndex();
var text = combo.getComboText();
combo.setComboText("");
combo.filterSelf();
combo.setComboText(text);
},1);
return true;
});