O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

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

Adding a paging toolbar for large datasets

When you need to load a large dataset there are a number of options available to enhance the experience for the user and reduce load on the server. A paging toolbar (Ext.toolbar.Paging) enables you to request that a limited number of records returned from the server. The toolbar will then display a series of buttons to allow the user to move from page to page.

Adding a paging toolbar for large datasets

In this recipe, we will render a grid with a paging toolbar that loads a maximum of 50 records at a time.

Getting ready

We are going to use the Invoice example that we have used throughout this chapter. So we will start by including the Model file to ...

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