myThis.ArticleStore = Ext.create("Ext.data.Store", { pageSize: 20, autoLoad: { start: 0, limit: 20 }, remoteSort: true, proxy: { extraParams: { typeStr: '1' }, type: 'ajax', url: myThis.url, reader: { type: 'json', root: 'rows', totalProperty: 'totalCount' } }, fields: myThis.ArticleFields }); 关键代码 |
转载于:https://www.cnblogs.com/sunjinpeng/archive/2012/01/06/2313951.html