francescoNemesi
18 May 2009, 2:37 AM
Hello,
I am using 1.2.4. I have a binder with setAutoload(true) and the usual async tree implementation with loader/proxy/store/binder/tree. The binder loads several children with children. I would like to know how to detect the fact that the the load has finished COMPLETELY for ALL items to be displayed in the tree. I have added the following listener to the loader
loader.addLoadListener(new LoadListener() {
@Override
public void loaderLoad(LoadEvent le) {
super.loaderLoad(le);
System.out.println("\n\n!!! TREE LOAD COMPLETE !!!\n");
}
});
But that's no good as loaderLoad is executed for every item, not just the last one.
Any ideas? Thanks for any help...
Francesco
I am using 1.2.4. I have a binder with setAutoload(true) and the usual async tree implementation with loader/proxy/store/binder/tree. The binder loads several children with children. I would like to know how to detect the fact that the the load has finished COMPLETELY for ALL items to be displayed in the tree. I have added the following listener to the loader
loader.addLoadListener(new LoadListener() {
@Override
public void loaderLoad(LoadEvent le) {
super.loaderLoad(le);
System.out.println("\n\n!!! TREE LOAD COMPLETE !!!\n");
}
});
But that's no good as loaderLoad is executed for every item, not just the last one.
Any ideas? Thanks for any help...
Francesco