Results 1 to 2 of 2

Thread: Reload a node in a dynamic treestore/treepanel

  1. #1
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    7
    Vote Rating
    0
      0  

    Default 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 User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347
    Vote Rating
    116
      0  

    Default

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

Posting Permissions

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