Results 1 to 2 of 2

Thread: list not refreshing with new data

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Answers
    3
    Vote Rating
    0
      0  

    Default list not refreshing with new data

    i am currently working with an app which uses lists dependent on another list. once an option in the first list has been chosen, then the second list uses this variable to get the data for the next list. but when retrieving the second lists data, the server takes a few seconds to respond with the new data. i am currently doing this by setting the proxy with a newly set url with the corrent information.

    now when you click on the second list the first time, it can take the value and send it to the server, retrieve it, and show it in the list properly, but the second time around, it tends to have the previously retrieved data. i have tried to do a list.refresh() on the list on the 'load' event on the store, but it still doesnt seem to take the newly retrieved data and refresh it. is this a bug, and if not, what possibilities are there to fix this?

    thanks in advance!

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

    Default

    Are you sure the store you are changing is the one bound to the list?
    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
  •