1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default Unanswered: how to reload or refresh Nested list after store is updated.

    Unanswered: how to reload or refresh Nested list after store is updated.


    how to reload or refresh Nested list after treeStore is updated.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    Answers
    124
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    i guess you need to load your grid's store after successful updation to the store.
    Code:
    store.load(function(records, operation, success) {
        console.log('grid refreshed');
    }, yourScope);
    check this:-
    http://docs.sencha.com/touch/2-0/#!/...re-method-load
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default


    Thanks sword-it, for the reply.

    Please explain! My proxy changes and I set a new proxy, now i want to refresh the nested list.
    If i do a sync() on the treeStore it "I think" gets new data. However list is not refreshing.

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default


    How to clean the treeStore?
    Or assign nestedlist store at runtime?

Thread Participants: 1

Tags for this Thread