AysncDataProvider few concerns!

16 views
Skip to first unread message

-sowdri-

unread,
Aug 29, 2011, 1:03:15 AM8/29/11
to google-we...@googlegroups.com
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, 

Reply all
Reply to author
Forward
0 new messages