Almost everything is in the title ;)
When you create a TreePanel you can add a loader this way:
loader: new Ext.tree.TreeLoader({
dataUrl: '../myurl.php'
});
But how to handle load errors?
For example if the user is not connected I want to display a Login box.
I can't find an example showing how to handle loading errors with TreeLoader
and/or TreePanel
.