Async tree has the tree store with loaded associated. Whenever a tree node expanded, the loaded get called. However if we fill the tree store with the whole tree data model, when we expad the tree node, the service get called once again. This is not a correct behavior. Since we already add all tree data model into the tree store, it should not call the loader once again when expand the tree node. At least there should be some switch we can turn on or off in terms of loader.
This is not a correct behavior. Since we already add all tree data model into the tree store, it should not call the loader once again when expand the tree node.
How should the tree now that you did that? programming is no magic, you need to tell it.
If you do it manually, than you should not use a loader on the TreePanel directly