org.gwtwidgets.client.ui.pagination
Interface DataProvider
public interface DataProvider
Retrieves the next page. Pass the AsyncCallback provided to a RPC call or
call it manually with a new List to update the table.
- Author:
- Joe Toth (joetoth@gmail.com)
|
Method Summary |
void |
update(PaginationParameters parameters,
com.google.gwt.user.client.rpc.AsyncCallback updateTableCallback)
Since javascript is asynchronous, after the Results object is create the
updateTableCallback needs to be executed. |
update
void update(PaginationParameters parameters,
com.google.gwt.user.client.rpc.AsyncCallback updateTableCallback)
- Since javascript is asynchronous, after the Results object is create the
updateTableCallback needs to be executed. Usually you will retrieve
results via a remote servlet, so you can call your service with the
callback.
Ex. service.find(parameters, callback);
- Parameters:
parameters - callback -
Copyright © 2009. All Rights Reserved.