I have the next problem....

I use a GridPanel, when I close the window I call the function store.removeAll() and it works fine,
but when I open again the window the number of pages in the paging doesn't and without rows the number of pages are like 1 - 15paging.jpg

how can I reset those values???