avenus
January 24, 2010, 2:14am
#1
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.
Olga
January 25, 2010, 3:48pm
#2
avenus
January 26, 2010, 5:40am
#3
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);