ExtJS 4.0 gridPanel 分页控件Ext.toolbar.Paging点击传参问题
Store.on('beforeload', function (s) { s.baseParams['Year'] = Ext.getCmp("year").getValue(); s.baseParams['Month'] = Ext.getCmp("month").getValue(); s.baseParams['fcno'] = Ext.getCmp("ruleid").getValue(); var params = s.getProxy().extraParams; var p = { fcno: Ext.getCmp("ruleid").getValue(), Year: Ext.getCmp("year").getValue(), Month: Ext.getCmp("month").getValue() }; Ext.apply(params, p); }); //在数据源加上beforeload方法,把参数合并下