Hello @Jurke!
Do you mean the current page the pager is in? Or is it something else related to the page?
If that's the current page, you should get it off the related store instead. If you already have the paging toolbar handy in your code and don't want to go thru the trouble to get the store off its grid, you can just call
paging toolbar's getStore() method. It is not private, so you are guaranteed at least a breaking change notice if this ever changes in the future.
Once you have the store, you can then get the page by its
currentPage property.
If you really, really want to get the current page (and other page data), you can use the paging toolbar's
private getPageData() method. It will return an object with a
currentPage
member which you can use and should match the store's.
I am assuming you want to get the page from client-side. If you have a specific condition, it always helps to present a test case or an
Ext.NET Examples's sample pointing then where exactly in the code you need to get the information. In some circumstances, from server-side, you need to "post back" the value you need, so there's little I can guess from the inquiry you currently presented.
Hope this helps!