PDA

View Full Version : Using a store instead of dataUrl for TreeLoader



valc
10 May 2010, 8:44 AM
Is it possible to use an XML reader & store as the source of the data for a tree or do I have to use the dataUrl/url ?


loader: new Ext.tree.TreeLoader({
dataUrl:'get-nodes.php',
baseParams: {path:'extjs'} // custom http params
})

I've seen a few other similar posts but no replies/answers.

steffenk
10 May 2010, 9:35 AM
it has been said it many other threads: stores are not designed to deliver tree structures, so it isn't an option atm.
Maybe 4.0 comes with a tree store, who knows ...

valc
12 May 2010, 7:47 AM
Ok, thanks.