autoresize for combo in grid

i have used this

combo1 = mygrid.getCombo(1);

combo1.autoOptionSize=true;



yet , the options in the combo (witch are wider than the combo) are just partially visible . am i missing something?

You are mixing two different functionalities, the autoOptionSize works with dhxmlCombo as cell editor
in same time the grid.getCombo is purposed to normal in-grid collections, such as co|coro excell.

In case of dhtmlxcombo as grid’s editor you can use

combo1 = mygrid.getColumnCombo(1);

combo1.autoOptionSize=true;


If you are configuring combos from XML, this code must be run after XML loading.