EXT JS: the Paging Toolbar and Live Data
(Page 1 of 4 )
Thanks for joining me in part three of the EXT-JS GridPanel tutorial series. In part two of the series we covered the basic mechanics of getting the data into our JsonStore and displaying it in the grid. We looked both at the server-side PHP and the client-side JavaScript required for achieving this.
In this part of the tutorial we’re going to be making use of another of the library’s components – the PagingToolbar. This control can be instantiated in implementations not involving a data grid at all, although it should still be tied to an instance of a data store of some kind.
The Paging Toolbar is most useful when working with large sets of data that can’t all be shown at the same time. It automatically works with your backend logic to present the data in digestible pages and adds the UI required for navigating these pages.
A paging toolbar of some kind is something I see (and have to code) time and time again on e-commerce sites and other online stores and sites, and working with the EXT-JS version is a real pleasure that can help you make substantial savings on time and coding when adding this staple of online data display.
Next: Pagination >>
More JavaScript Articles
More By Dan Wellman