PDA

View Full Version : Async Tree with different proxies



rohitd
17 Aug 2010, 1:26 AM
Hi All,

Whats happening is if we have only one proxy then in the load() method which we override, we have distinguish between the nodes and then bring its children accordingly if we have nodes of different types.

What i am thinking is, if we can configure the proxy for each node then we need not check the for different node type in the load method.. it will automatically load its children from the proxy configured.

The proxy is attached to a loader and loader is attached to store and in turn store is attached to the TreePanel which renders the tree, so is it possible to have proxy configuration for each node ?

Regards
Rohit

sven
17 Aug 2010, 5:34 AM
This is not possible out of the box. You can create an own Loader that invokes different proxies based on some algorithm.

B.Oury
12 Dec 2011, 7:54 AM
Hi Sven,

There are any change for that today?

Thanks for help

bumperstickers
14 Dec 2011, 10:11 AM
Click the link http://blog.karolsojko.com/index.php/2011/01/ext-js-combining-treepanel-with-gridpanel/