Extjs Send extra param with pagination

by admin on 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”
})

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>