Question

I would like to refresh a node of a tree.

I try something like that to refresh the root and it worked:

this.getStore('MyTreeStore').load({ params: { id: this.getId().getValue()} });

But now I would like to refresh only one Node and not the whole tree.

Was it helpful?

Solution

The best response I found is: this.getStore('MyTreeStore').load({ node: someNode});

OTHER TIPS

this.getStore('t').getAt(0).load(this.getId().getValue()) Will load data only for the record passed to load ( http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Model-static-method-load )

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top