Sorting of the data

The store supports filters, sorting, and grouping. These are very important functionalities which make the Sencha Touch data classes so useful. One can sort data in one or more fields, apply one or more filter, and group the data on certain fields. All this is available on the client side, as well as the server side. On the client side, the framework applies the sorting, filtering, and grouping on the models stored within it whereas on server side, the information is passed to the remote server, so that the server-side application/script can handle them and provide the desired sorted, filtered, and grouped data.

In this recipe, we will see how to sort the data, send the sorting information to the server, and customize the information ...

Get Sencha Touch Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.