Trying to open dhtmlXComboFromSelect expanded. Here is the code snippet:
Initially, when the page loads, below is the code:
var z=dhtmlXComboFromSelect(“abc”,100);
z.enableOptionAutoPositioning();
z.enableOptionAutoWidth(true);
z.enableOptionAutoHeight(true);
z.autoOptionSize=true;
z.show(false);
Conditionally, based on a app trigger, the combo box need to show all options expanded, using below code:
z.show(true);
z.openSelect();
Problem: This unhides and shows the combobox, but NOT in the expanded options mode.
Yes, the show|hide commands show|hide the combo itself, and doesn’t related to the filtering state in combo.
Please check next sample, it shows how combo can be forced to show all options.
dhtmlx.com/docs/products/kb/inde … how%20open