1. #11
    Sencha User xereta's Avatar
    Join Date
    Jul 2012
    Location
    Brazil
    Posts
    23
    Vote Rating
    0
    xereta is on a distinguished road

      0  

    Default


    So, just to confir if I understand:
    I should have my NestedList in a store, with a sql proxy configurated to an websql.
    But when should the websql be populated from the json file?
    At start of the application?

  2. #12
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Answers
    25
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      1  

    Default


    I'm not sure if NestedList will work; you may need to intervene programmatically a little more with this proxy, creating stores on the go with a remoteFilter set to the relevant parent ID.

    I'd start with a simple list example and go from there.

    I would populate the websql if it hasn't already been populated at the start of the application, yes.

    The main advantage to you is the remoteFilter/sort configs will operate on the database, so javascript won't have to hold the data in memory, and you can bring subsets of the data into javascript memory as you need to display them.
    I blog about Sencha Touch at www.senchatouchdev.com

Thread Participants: 1

Tags for this Thread