1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    ranjithkumarnrk is on a distinguished road

      0  

    Default Unanswered: Ext.ux.touch.grid pagination on scroll

    Unanswered: Ext.ux.touch.grid pagination on scroll


    Hi,
    I have been working with Ext.ux.touch.grid plugin for ST2 from past 2 months.

    Now I need the grid to load the data on scroll, like listpaging in sencha.
    The pagination must occur as we scroll the grid vertically upward and downwards.
    I have a single store with over 1000 records.
    And the store is static, I mean I don’t use any proxy config to get the data for the store.

    The reason why I need pagination is coz , the app crashes if I refer the huge store to the grid at a go.

    Please help me out with this.

    Regards,
    Ranjith

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,212
    Answers
    3517
    Vote Rating
    858
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So you have 1,000 records in your store? Paging will require you load only the page requested from a server or localstorage. Ext.ux.touch.grid.List should support the new list in ST 2.1.0 which supports infinite data so it won't render 1,000 rows.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    ranjithkumarnrk is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks mitchell ... Will check that.