How to know the tree has been loaded completely… is there any event fired. after the loadXML statement i want to know the no of children in that tree
There are two ways to detect moment , when data loaded in tree
a) onXLE event
tree.attachEvent(“onXLE”,function(){
//will be called after any xml loaded
});
or
b) second parameter of loadXML command
tree.loadXML(“some.url”,function(){
//will be called after data loaded in grid
})