PDA

View Full Version : How to load children for a node in a treestore programmatically?



da_b0uncer
13 Sep 2013, 12:16 AM
I tried a few things but the proxy never sends the node parameter to the server.
The loading of new children over the treegrid works somehow.



treestore.load({ node: myParentNode });

slemmon
2 Oct 2013, 10:17 AM
Have you looked at how this example is structured? While not a treegrid, the setup of the proxy and the response from the server would be what you would model after.

http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#tree-xml