Quote Originally Posted by westy View Post
Heh, yeah, it's a bit of a faff now... NodeInterface is not very good IMHO.

Anyway, I do the following:
PHP Code:
// Remove all current children if clear on load not set
if (!treeStore.clearOnLoad) {
    
record.removeAll();
}

// Call load, refreshing our view when done...
var viewRefresher = function() {
    
view.refresh();
};

treeStore.load({
    
noderecord,
    
callbackviewRefresher
}); 
Obviously you need your tree store, and the view refreshing bit is needed for me since I change the icons during fillNode, and it doesn't seem to stick unless you kick it

Not quite as simple as pre-Ext 4....

Hope that helps,
Westy

Thank you !!