3.2.0

filling a combo...

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.
April 14,
http://www.activewidgets.com/javascript.forum.19797.1/can-i-use-setcellmodel-with.html
April 15,

This topic is archived.

See also:


Back to support forum