1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    Groningen, The Netherlands
    Posts
    8
    Vote Rating
    0
    arjenvanputten is on a distinguished road

      0  

    Default Unanswered: Reloading store after data on web service changed

    Unanswered: Reloading store after data on web service changed


    Hello,

    I am building a shopping list app. The shoppinglist and its items are stored on a web service. After my posted an new shoppinglist item to my web service I want to reload the store witch loads the shopping list. I tried it by using .load() on the same store, but then the nested values of the data that the store returns are empty.

    Does anyone know how I can make this work?

    Thanks in advance.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,547
    Vote Rating
    873
    Answers
    3566
    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


    The new data is saved to your database or however you save it?
    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
    Mar 2012
    Location
    Groningen, The Netherlands
    Posts
    8
    Vote Rating
    0
    arjenvanputten is on a distinguished road

      0  

    Default


    Indeed. I posted the data to my web service. The web service stored it in a database. Im now actually thinking that updating the complete shoppinglist after I added a new product to it, is not necessary so I will only add one new item to the list.

Thread Participants: 1