Results 1 to 3 of 3

Thread: Paginggridscroller current page

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Moscow
    Posts
    16
    Vote Rating
    0
      0  

    Exclamation Paginggridscroller current page

    How can i get current page index, when user scrolls the Paginggridscroller ?
    Is there any PageChanged event?

  2. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Answers
    113
    Vote Rating
    100
      0  

    Default

    you can get it from the store you are using with paging. The store has a currentPage property:

    Code:
    var currentPage = store.currentPage;

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Moscow
    Posts
    16
    Vote Rating
    0
      0  

    Default

    It works only for non-prefetched pages, when you scroll down, and then go back to the top, the store.currentPage prop is equals to last prefetched page index.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •