insert combo column in grid doesn't work

Hello,

If you add a combo box column through the normal way, it works.
var mygrid = new dhtmlXGridObject(‘variantgrid’);
mygrid .setColTypes(“ed,ed,ed,combo,ed,ed,ed”);
var combo = mygrid.getColumnCombo(3);
combo.loadXML("…/xml/vat.php");
combo.readonly(true);

This works fine, the 4th column is changed into a combobox and is populated with items.

If you add a column later on through script, this doesn’t work.
mygrid.insertColumn(7,‘Options’,‘combo’,150,‘str’);
var comboOptions = mygrid.getColumnCombo(7);
comboOptions.loadXML("…/xml/options.php?category=1");
comboOptions.readonly(true);

The column is added, but is not changed into a combobox. When clicking on a cell in this column, you get an error message.

Is it not possible to do add such a column afterwards?
thanks!

Unfortunately we cannot reproduce this issue locally. Please open ticket at support.dhtmlx.com/ and we will provide you working example. Or try to update your dhtmlxGrid files.