Saturday, March 26, 2011

Sort order is lost in CellTable

Hi,
I'm using a CellTable (GWT 2.2) with some sortable column. When the
user clics on sortable column header, the CellTable is sorted
correctly, but if there's an update on some data, the updated row is
moved to the end of the table.
By "update" I mean refreshing data from server. To refresh data at
index I'm using getDataProvider().getList().set(index, data).
Is there something else to do ?

Thanks

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment