PDA

View Full Version : grid pagenumber



HarryC
18 Apr 2007, 4:02 AM
I used to think I was moderately skilled with javascript. The more I use Ext, the more I realise just how little I know.

What I want to do is really simple. I have a grid with a paging toolbar, how do I get the current page number(I'm opening a new window and want to display the details of the current page).

I've tried going through paging.js and other parts of Ext, but I just can't work out how to retrieve the information I need. So, two questions.

1. How do you get the current page number (I'll probably need total record count as well)?
2. (and more important) What would people recommend me to read or do to learn how to work this kind of thing out for myself without asking elementary questions like this on the forum?

Thanks. :">

tryanDLS
18 Apr 2007, 8:51 AM
Did you go thru the tutorial on grid component? http://extjs.com/tutorials/beginner