Hi,

I have a cellTable and am displaying combox in one of the columns.
I use SelectionCell for the same but my problem is that the combobox is
displayed in all rows but all are empty, they dont  show any values there.
Code is as follows:

final List<String> picUps = new ArrayList<String>();
                                       //  Adding values to picUps list


                                        SelectionCell picUpPointCell = new
SelectionCell(picUps);
Column<IBusObjectRpc, String> pickUpCol = new Column<IBusObjectRpc,
String>(picUpPointCell) {
 @Override
public String getValue(IBusObjectRpc object) {
if(object instanceof TktvalaTripDTO) {
return ((TktvalaTripDTO)object).getPickupPoint().get(0).getName();
}else if(object instanceof TktgooseBusDTO) {
return ((TktgooseBusDTO)object).getPickupPoints().get(0).getDesc();
 }
return null;
}
};
 table.addColumn(pickUpCol, "Pic ups");


I make sure that the proper values are returned from getValue().

Can somebody find out what i am doing wrong.


Thanlks
Deepak

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to