Extjs4 store定义
1 Ext.define('Keer.ext.store.ExhibitionCategoryStore',{ 2 extend: 'Ext.data.Store', 3 model: 'Keer.ext.model.ExhibitionCategoryModel', 4 pageSize: 20, 5 remoteSort: true, 6 proxy: { 7 type: 'ajax', 8 actionMethods: { 9 read: 'post' 10 }, 11 url: 'exhibitionCategoryManage!search.action', 12 remoteFilter:true, 13 reader: { 14 type: 'json', 15 root: 'data', 16 totalProperty: 'totalCount', 17 successProperty: 'success' 18 } 19 } 20 });