gui
gui

Reputation: 35

GWT paginated cellTable reload to a specific page

I have a paginated cellTable , how can I reload the paginated cellTable and target it to a specific page? For example, I am viewing page 5, I click the reload button and give pageNo = 5 as a argument and after loading the pagination cellTable are still on page 5.

Upvotes: 0

Views: 305

Answers (1)

Andrei Volgin
Andrei Volgin

Reputation: 41089

If you use an AsyncDataProvider and a SimplePager, you can simply:

pager.setPage(5);

Upvotes: 1

Related Questions