Sunday, August 28, 2011

AysncDataProvider few concerns!

Hi,

I've been working with AsyncDataProvider for celltable, and the implementation is fantastic! Yet I've a few concerns:

Use existing data:

Each time the range change event is fired, 

updateRowData(int start, java.util.List<T> values) 

has to be called. If on navigating back, I decide to use the already fetched data, we need a method which basically does nothing! Such that we could only the visibleRange changes.

On update: 

On fetching new data from the server, we need a method to addItems to the existing list. A method like 

addRowData(int index, java.util.List<T> values) 

which can add rows to the existing list, rather than replacing them will be wonderful!!

Thanks in advance, 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Fpnu3MQirkIJ.
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