:: Forum >> Version 2 >>

filling a combo...

More information on this topic is available in the documentation section: /grid.intro/.

Hi guys, i'm starting using AW and i need to fill a combo with data contained in a xml. the combo is shown into the grid, as this:

var table = new AW.XML.Table;
table.setURL("data.xml");

/*there's more code between this sentences but i'm just showing you this so you can understand that the table is filling the grid*/
var obj = new AW.UI.Grid;
obj.setCellModel(table);

comboAccion = new AW.UI.Combo;
/*here it is, i need to fill comboAccion with a column loaded from data.xml, the column is called "options"*/
obj.setCellTemplate(comboAccion, 7);

hope you can help me, thanks!

rodrigo t.
Monday, April 14, 2008
/javascript.forum.19797.1/can-i-use-setcellmodel-with.html
Tuesday, April 15, 2008

Post a reply:

Text:
Name:

Back to /grid.intro/

Documentation:

Forum search