The loading is async, so you need to use onXLE event or next syntax
grid.loadXML(‘data.url’,function(){
//any command here will be called only after XML loading
…
});
The loading is async, so you need to use onXLE event or next syntax
grid.loadXML(‘data.url’,function(){
//any command here will be called only after XML loading
…
});