Hi,

I noticed an issue in the SingleSelectionModel when used in combination 
with a KeyProvider and updating the cell table with new data.

The idea is that I want to retain selection, and that seems to work. What 
does not work is when I use the getSelectedObject method I get an older 
version of the object instead of the refreshed version.
Is that the way it is supposed to work ? Wouldn't it be smarter to 
recalculate selection when the data in the table is updated ?

I currently implemented a workaround that uses the KeyProvider to find the 
item in the table that has the same key as the previous selection.

David

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to