View Full Version : Extjs Tree

18 Jun 2013, 4:23 PM
hi every one.. i have a treepanel with treestore which build tree perfectly this tree have 4 parent noed,.but do to my requirement i want to break each parent-node to a tree.that means building 4 tree.i can do this using 4 treestore and 4 .php files but i felt that it is not the right way...so is thier any way that i can only use 1 store and 1 php file to build 4 trees by like passing parent-node id to store or another way please any clue....

20 Jun 2013, 6:08 PM
You might just use an Ext.Ajax.request() to fetch the data down for the 4 tree stores and once you have it, parse the dataset into the 4 nodes and then just use setRootNode() to set the root on the 4 tree stores.

25 Jun 2013, 3:04 AM
i have just decided to use 4 treepanel,4treestore,4php file and one menutable;