Results 1 to 2 of 2

Thread: Ext.Store Local - Cache a store created during execution

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Ext.Store Local - Cache a store created during execution

    Hello, thanks in advance for any help.

    I have an application that populates a store from a database, then uses this store to populate a list. The user can then select items from this list, to add to another list.

    So when the user selects from list A, I populate another store (based on the same model) with the selected data, and populate list B.

    I would like this data to persist and be cached on the device. So when the website is refreshed, or the application re-launched, the store that was created will get loaded with the data from before.

    Is this possible?

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102
    Vote Rating
    86
      0  

    Default

    Yes. You can use cookies, or better, local storage.

Posting Permissions

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