:: Forum >> Version 2 >>

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 0colNumber numberOfComboscolNumber++) {
            var 
template = new AW.UI.List;
            
template.setItemText(["A","B","C"]);
            
template.setItemValue(["1","2","3"]);
            
template.setItemCount(3);

            
grd.setCellTemplate(new AW.Templates.CombocolNumber);
            
grd.setCellValue(truecolNumber);
            
grd.setPopupTemplate(templatecolNumber);
}
 
And to read the selected values, I use:
alert(grd.getCellText(colCounterrowCounter));
 
I also tried :
alert(grd.getCellValue(colCounterrowCounter));
 
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