3.0.0

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
April 24,
Use setItemValue() method -

list.setItemValue(["item1", "item2", ...]);
Alex (ActiveWidgets)
April 25,
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
April 25,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.