Hi,

I am using GWT 2.3 cellTable to display the data using SimplePager.

And i am following the example *AsyncDataProvider* as it is...

http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html<http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#data-provider>


AsyncDataProvider provider = new AsyncDataProvider() {
      @Override
      protected void onRangeChanged(HasData display) {

        // Here i am doing rpc call to get the data *using cursors*... and
its working fine.

        updateRowData(start, data);
      }
};

But each time when i click *next button* i am getting next 20 values from
the data store using cursor. And it is displaying the data fine. No issues
with next button.

But when i click *prev button*, i am assuming that cellTable had stored the
previously displayed data, and just want to display that existing data, and
handle this case without making RPC ?? but here when i click on prev button,
progress bar is being displayed... what is that wrong here ??

(*DOUBT*: *on click of prev button*: what is the need of call to the server
to get the duplicate data again ??)

is their any other way to handle this case ?? Please any suggestions ??


Thanks in advance

-- **
*S*antosh *K*umar *K
***
*www.AccountingGuru.in <http://www.accountingguru.in/>
*
<http://www.accountingguru.in/>**

-- 
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.

Reply via email to