Combo in Grid cell

Hi

I have a combo in a grid cell and when I change the combo value programmatically (setComboValue(xx)) it does set the Value in the Combo but it does not reflect this inside the cell so it looks like nothing has happened.

Please can you tell me how I can get the equivalent Combo Text to be displayed in the cell as well.

Thanks
Purvez

Hi,

Combo is grid editor. You need to use grid API to set cell values:

grid.cells(rowId,columnIndex).setValue(xx);

Thanks for your reply Alexandra. However since the Combo is attached to the Grid Cell a change in the Combo Selection SHOULD automatically be reflected in the associated Cell?

Please could this put in as an Enhancement request.

However since the Combo is attached to the Grid Cell a change in the Combo Selection SHOULD automatically be reflected in the associated Cell?

It is possible to use one combo for a column. And what is expected if one sets combo value - all cells in the column should have the same value ?

Combo reflects a cell value as well as other grid editors and not vice versa.

Alexandra I couldn’t agree with you more. That is exactly my point … this is a CELL combo and NOT a Column Combo. Therefore changing combo value SHOULD change associated Cell value.

Regards
Purvez