Hi all. I am trying to minimize number of trips to server on initial page load. Main page has 2 TreePanels which in turn produce 2-4 extra trips during main page load.
My idea is to pass JSON strings for each tree in the page itself. On initial load trees loaded from JSON strings and then I need them to start loading asynchronios using TreeLoader.
1) How to load tree initially from JSON string?
2) How to switch TreePanel to use TreeLoader after that?