Sencha Touch 2 – Navigation View, Templates and Forms
This post will build on the example application from the Introduction to Sencha Touch post. We will look at sorting, templates, navigation and forms. Sorting In the existing code new items appear at the bottom of the list. I’d prefer to see the newest items first. After a Sorter is added to the Store, Sencha displays records in the proper order. var store = Ext.create(‘Ext.data.Store’, { storeId: “activityStore”, model: “Activity”, proxy: { type: ‘ajax’, url: ‘exercise.json’ }, sorters: [ {…