:: Forum >>

How to set items in AW.Templates.Combo

I am trying to use combos as cell templates in a grid. I couldn't find how to set the items value in the documentation. Please advise how to set the items value for AW.Templates.Combo.

Thanks,
mrhsh
Thursday, April 24, 2008
Use setItemValue() method -

list.setItemValue(["item1", "item2", ...]);
Alex (ActiveWidgets)
Friday, April 25, 2008
var combo =new AW.Templates.Combo;
combo.setItemValue(["0","1","2","3","4","5","6","7","8","9"]);
grid.setCellTemplate(combo, 0,0);

Don't work?
mrhsh
Friday, April 25, 2008

This topic is archived.


Back to support forum

Forum search