I have a celllist where I want add data loading from server and the
list should show all data. I use a AnsyncProvider and when I
succecfully get my data from the server I want to add the data to the
celllist. The only way I got this work is to hold a list of the data
I've got from the server, where I add incoming data and then calling
updateRowData with the list of all incoming data:
List<Response> list;
onSuccess(Response response){
list.addAll(response.getItems());
list.addAll(response);
display.setVisibleRange(0, list.size());
asyncDataProvider.updateRowData(0, list);
}
But this force the CellList to redraw the the list with the whole
dataset not only the new one. Like in the showcase example of cellList
(http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList).
So my question how can I show all data and only the new one will be
added to the view.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.