:: Forum >>

Grid with combo (text and values)

Hello,

I'm using a grid in combination with a combo object.
The only problem is how do I get the combo value in stead of the combo text.

I'm using this code:
For (colNumber = 0; colNumber < numberOfCombos; colNumber++) {
            var template = new AW.UI.List;
            template.setItemText(["A","B","C"]);
            template.setItemValue(["1","2","3"]);
            template.setItemCount(3);

            grd.setCellTemplate(new AW.Templates.Combo, colNumber);
            grd.setCellValue(true, colNumber);
            grd.setPopupTemplate(template, colNumber);
}


And to read the selected values, I use:
alert(grd.getCellText(colCounter, rowCounter));

I also tried :
alert(grd.getCellValue(colCounter, rowCounter));

But that returns nothing.

Thanks in advance!
J Hollemans
Friday, August 10, 2007
somebody?
J Hollemans
Monday, August 13, 2007
Can anyone please look at my question?

I tried all kinds of solutions, but non will work.
J Hollemans
Monday, August 20, 2007

This topic is archived.


Back to support forum

Forum search