Threaded View

  1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    33
    Answers
    1
    Vote Rating
    0
    charles.bourasseau is on a distinguished road

      0  

    Default Answered: extjs 4.1 tree refresh a specific node

    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});

Thread Participants: 2

Tags for this Thread