PDA

View Full Version : Sending custom parameters through PagingToolbar!



Ramanujam
24 Jan 2012, 12:09 PM
Hi,

I have a PagingToolbar in the bbar of my Ext.grid.EditorGridPanel. I want to send my custom parameters like requestId and accountType when ever I click on the previous and next buttons. How can I achieve this? Your valuable time to my issue is highly appreciated Thank you.
......
bbar: new Ext.PagingToolbar({
pageSize: itemsPerPage,
store: myStore1,
displayInfo: true,
displayMsg: 'Displaying re ords {0} - {1} of {2}',
emptyMsg: "No records to display."
}),
..........

Regards,
RK

mitchellsimoens
24 Jan 2012, 12:53 PM
I would hook into the beforeload event of the store.