Posts Tagged ‘params’

Extjs Send extra param with pagination

by on Monday, August 2nd, 2010

bbar: new Ext.PagingToolbar({
pageSize: 6,
id: ‘grid-bbar’ ,
store: store,
listeners: {
beforechange: function (tb, param) {
var section= Ext.getCmp(‘rsection’).getValue();
var section1= Ext.getCmp(‘newID’).getValue();
param[‘section1’] = section1;
param[‘section’] = section;
}
},
displayInfo: true,
displayMsg: ‘Displaying topics {0} – {1} of {2}’,
emptyMsg: “No topics to display”
})