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:
In the code, as we have set
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
true, the store will send the sorting information (the field and sort ...