PDA

View Full Version : Using PagingToolbar in GridPanel



gabrialice
23 Jan 2013, 1:39 AM
Hi everybody!
I'm using PaginToolbar in a GridPanel like this:
grRichieste=new eg.GridPanel({
height:306,
..........
bbar:new Ext.PagingToolbar({
pageSize:nRows,store:stRichieste,displayInfo:true,
displayMsg:'Vedi <b>{0}</b>-<b>{1}</b> di <b>{2}</b>',
emptyMsg:"Nessuna richiesta da visualizzare!"
}),
When I click on "NextPage" in the toolbar, it works fine only for the first pages, but the latest two pages are not correctly visualized. The json message from the server contains correct data (with the correct ids) but tha page is not updated with the new data and even if the page counter in the toolbar doesn't change and indicates the same page as before clicking!
Have you an idea of what is happening? A bug perhaps??:-?
Thanks for your help!

mitchellsimoens
28 Jan 2013, 1:50 PM
I have not seen an issue like this, the toolbar has worked for me 100% for my projects.