Results 1 to 10 of 10

Thread: extjs 4.1 tree refresh a specific node

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    33
    Answers
    1
    Vote Rating
    1
      0  

    Default Answered: extjs 4.1 tree refresh a specific node

    I would like to refresh a node of a tree.I try something like that to refresh the root and it worked:
    Code:
    this.getStore('MyTreeStore').load({ params: { id: this.getId().getValue()} });
    But now I would like to refresh only one Node and not the whole tree.

  2. If you want to load a particular node, then pass a node/record object in the store's load() call. This will load the data of that node (similar to an expand request of the node).

    Code:
    this.getStore('MyTreeStore').load({ node: someNode});

Tags for this Thread

Posting Permissions

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