Is there a way in ExtJS 4.1.3 to set default sorting on a grid with backup storage set to remoteSort: true ?
remoteSort: true
I skipped the sorters configuration in the documentation, default sorting can be set
sorters: [ { property: 'valuetosort', direction: 'ASC' } ],
In addition, if you want to install sorters dynamically, and remoteSort is true, you can use the sort method and pass the sorters configuration in one parameter.
store.sort([{ property: 'valuetosort', direction: 'ASC' }])