Results 1 to 2 of 2

Thread: Load Data from Store

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

    Default Load Data from Store

    Hi,
    I have stored some model data into the local storage. Now I want to display the data stored on local proxy on some form. I want to retrieve the model data by id. Please let me know how can I retrieve the data that is stored on local storage by a particular id and how to access the data so that I can display the data on the form field by field.

    Thanks,
    Divya

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    You should use a store to save to localstorage. Then when the store loads you have the data from localstorage.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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