O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automatic pagination in grids

Pagination in data-backed components such as Grid and ComboBox allows the user to access large datasets by presenting them in chunks (pages) and then retrieving more as the user requests, this is certainly better than presenting a huge list of 1000 customers all at once.

Pagination, especially when combined with sorting and filtering, can greatly improve the perusal of potentially large data. PagingToolBar is GXT's paging component and it really shines in the way it handles navigation of both in-memory and remote data.

Automatic pagination in grids

How to do it...

Build a grid with ListStore, using PagingLoader to load the data,, then create PagingToolBar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required