1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    7
    Vote Rating
    0
    pascal_chronotech is on a distinguished road

      0  

    Default Unanswered: Reload a node in a dynamic treestore/treepanel

    Unanswered: Reload a node in a dynamic treestore/treepanel


    How can i reload a node within a treestore ?

    I use this.getStore().getNodeById(id) to retrieve the node but i didn't find function to reload this node

  2. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    346
    Vote Rating
    113
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      0  

    Default


    Try this:
    Code:
    var node = this.getStore().getNodeById(id);
    node.collapse();
    node.set('loaded', false);
    node.expand();

Thread Participants: 1