// Store mode is loaded when the program is started Ext.define (' App.view.note.infoView ', { Extend:' ext.list ', xtype:' InfoView ', ID:' infoview ', config:{ Store:' Typeliststore ', loadingtext:' loading in ... ' , srcollable:true, plugins: [ ' MyExt.plugin.PullRefresh '}, ' MyExt.plugin.ListPaging '} ], itemtpl:' <div class= ' fontsize ' id= ' {ID} ' >{ Notetype}</div> '
Identifier
Ext.define (' MyApp.data.MyModel ', { ' Ext.data.Model ', config:{ identifier:{ type: ' sequential ', prefix:' id_ ', seed:+}} )
Proxy--direct
config:{ fields:[' FirstName ', ' LastName '], proxy:{ type:' direct ', directFn:MyApp.getUsers, paramorder:' id ' }}
Proxy--localstorage
config:{ fields:[' id ', ' query '], proxy:{ type:' localstorage ', ID:' Twitter-searches ' }}
Memory
var store = ext.create (' Ext.data.Store ', { true, model:' User ') , data:data, proxy:{ type:' memory ', reader:{type:' json ', Root: ' Users ' } }})
ExtJS Store Data loading