O'Reilly logo

Ext JS 6 By Example by Anand Dayalan

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

Sorting

This can be done using the default column menu. Here is how the default column menu looks. This can be used to sort, hide, or show columns. The column menu will be displayed if you click on the small arrow icon in each column. Sorters can be added using the UI or from the code:

Sorting

In the code, as we have set sortable to false for the Description column, the options to sort for this column will be disabled.

By default, the sort happens on the client side. To enable sort on the server side, you have to set the remoteSort property of the store to true. When you set remoteSort to true, the store will send the sorting information (the field and sort ...

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