Grid combo filter

Dear Support,

I have a combo filter for a grid. When I filter the grid with the one of the values in the combo rest of the values disappears in the combo after the filtering. You can reproduce it at the following dhtmlx sample link.

dhtmlx.com/docs/products/dht … combo.html

How can I avoid that behavior?

Thanks in advanced,

It’s not an issue. Sample works as designed. You can use #select_filter instead

In my case it is already "#select_filter " bu it acts as I have mentioned!

Example of #select_filter is avaialble here dhtmlx.com/docs/products/dht … _srnd.html

If you filter the grid with the one of the values in the filter of the values will not disappears.

Thanks,

One more question:

How can I obtain a combo filter element and populate it with default values?
For example:
var combo = grid.getCombo(6)
combo.addOption (“AAA”,“1”);
combo.addOption (“BBB”,“2”);
combo.addOption (“CCC”,“3”);
combo.addOption (“DDD”,“4”);


You can getFilterElement() method to get combo filter object