sub grid getValue

hi



we have a column in a sub grid that has a combo attached to it. when we double click the cell it shows the drop down box fine, we select an option and it also shows the text fine. however each item in the drop down combo has an id (1,2,3) and a text value that is displayed (“One”,“Two”,“Three”)



when we use the getValue method on this cell it shows the number 1,2,3 instead of textual displayed value One,Two,Three…



this is also fine but we also want to get the actual displayed value, how do we do this please



thanks


To get actual value of the “combo” cell you can use method getText() instead of getValue():


subGrid.cellById(rowId,cellIndex).getText();