How to use combo cell?

Hi, all!

I set combo cell:

... mygrid.setColTypes('coro'); mygrid.getCombo(0); ...

XML data is:

<rows> <row id=1><cell>one</cell></row> <row id=2><cell>two</cell></row> </rows>

When double click on combo cell is not showing all the option.

Help, please.

Please check tutorial here docs.dhtmlx.com/doku.php?id=dhtm … n_from_xml

Thanks!

My options for combo be defined from XML:

[code]Combo column

First Second Third [/code] This now is working on doubleclick. I setting in header "afterinit" command: [code] #select_filter [/code] Why options from [column type="coro"] is not showing in header?

You should do like this:

mygrid.getCombo(0).put(1, “a”);
mygrid.getCombo(0).put(2, “b”);
mygrid.getCombo(0).put(3, “c”);

mygrid.init();

var combo = mygrid.getColumnCombo(0);
var options = [[1, “a”],[2, “b”],[3, “c”],];
combo.addOption(options);