Hi, I managed to figure out where I was going wrong:
A node cannot have an 'open' attribute with a value of 'true', if it
also has the 'load' attribute set. If the code detects the 'load'
attribute, it automatically sets 'open' attribute to 'false' :
if (node.data.load) {
node.open = false; // can't have a dynamically loading node that's
already open!
node.insert(this.control.loader);
node.onExpand = function(state) {
this.load(this.data.load);
this.onExpand = new Function();
}
}
Hope this helps someone.
Simbro.