Empty list of combo box

Hi,



I have a combo box with the options created dynamically by data from the database with filtering enabled.

The first time that I click on the combo box I saw the list but after selecting or typing an item of the list when a click again on the drop down list, nothing appears. The list is empty… I have to erase the text and typing again but I don’t want to do that. I want to be able to see the list when I click on it.



Try your sample: dhtmlx.com/docs/products/docsExp … &type=smpl and you will see the problem.



Is there a workaround?



Thank you,



Emilie


Hello,


In case of filtering enableFilteringMode(true) (but if you don’t use autocomplete mode - enableFilteringMode(true,url)), you can use apply 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;
});



In case of using autocomplete these is no opportunity to show the whole list.




Hi,
This approach deselect the current selected value of the popup also. Do you have got any idea’s how to keep the selection, after resetting the filter?

Thanks

Could you please, clarify what do you mean under the popup or provide a screenshot clarifying the problem.