What I want to accomplish: have a "pre-built" hierarchy loaded on the initial load of the data, but still allow the user to expand the non-expanded nodes and load that data remotely. I need to pre-load a portion of the hierarchy data because I need to have a value selected somewhere in the tree on the first load and that data needs to be there.
Remote loading of data works fine, and filling in the default data works fine....but not at the same time. If I have the "children" property set to a field in my JSON data, the nodes are no longer wired to fetch new nodes on-demand. How can I enable that behavior?
I have the following data source:
Any ideas? I want to preload SOME data, but still load the rest remotely on demand for the nodes that don't have any children,