1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Moscow
    Posts
    16
    Vote Rating
    0
    shiaart is on a distinguished road

      0  

    Exclamation Unanswered: Paginggridscroller current page

    Unanswered: 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
    96
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      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
    shiaart is on a distinguished road

      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.

Thread Participants: 1

Tags for this Thread