Have a look at the source code of check-nodes.json from your example I don't know if it's the answer. With LayerTreeBuilder it doesn't work, I just tried it.
http://dev.sencha.com/deploy/dev/examples/tree/check-nodes.json Lucia Dipl.-Geogr. Lucia Morper-Busch | Researcher University of Salzburg | Centre for Geoinformatics - Z_GIS Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260 > Z_GIS...experts for the spatial view <http://www.zgis.at/research> Von: M. Rizwan Khan [mailto:[email protected]] Gesendet: Donnerstag, 03. Februar 2011 11:12 An: Morper-Busch, Lucia Cc: [email protected] Betreff: Re: [Users] How to add multiple levels in Tree Hi Lucia, Thanks for the help, I'll learn to integrate legend part in my page from your example. But my basic question still persist. I want to add Sub-folders and files to my parent folder. Just like in this example. http://dev.sencha.com/deploy/dev/examples/tree/check-tree.html 'Grocery Food' has files (Bananas, etc.....) and sub-folder as 'Energy Foods' Regards, M. Rizwan Khan On Thu, Feb 3, 2011 at 2:55 PM, Morper-Busch, Lucia <[email protected]> wrote: Hi Rizwan, have a look at the LayerTreeBuilder: http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/exa mples/tree-builder.html <http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/ex amples/tree-builder.html> Lucia Dipl.-Geogr. Lucia Morper-Busch | Researcher University of Salzburg | Centre for Geoinformatics - Z_GIS Schillerstr.30 | Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria Phone +43 (0)662 8044 5298 | Fax +43 (0)662 8044 5260 > Z_GIS...experts for the spatial view <http://www.zgis.at/research> Von: [email protected] [mailto:[email protected]] Im Auftrag von M. Rizwan Khan Gesendet: Donnerstag, 03. Februar 2011 10:16 An: IT Intern Cc: [email protected] Betreff: Re: [Users] How to add multiple levels in Tree Hi, Thanks Elshae for your response. Now I am able to get sub-folder but unable to have both (layers & folder containing folder). I used this code : children : [ { nodeType : "gx_layer", layer : "campus:building", loader : { param : "LAYERS" }, children : [ { nodeType : "gx_layer", layer : "campus:residential_building", isLeaf : false, loader : { param : "LAYERS" } }, { nodeType : "gx_layer", layer : "campus:academic", isLeaf : false, loader : { param : "LAYERS" } }] Regards, M. Rizwan Khan On Mon, Jan 10, 2011 at 8:29 PM, IT Intern <[email protected]> wrote: Hi Rizwan, http://dev.sencha.com/deploy/dev/examples/tree/two-trees.html and the examples page at: http://www.sencha.com/products/js/ May be of great help to you as ExtJS is the parent library of GeoExtJS elshae On Mon, Jan 10, 2011 at 4:58 AM, M. Rizwan Khan <[email protected]> wrote: Hi all, I am new to Geoext, I have seen this example http://api.geoext.org/1.0/examples/tree.html and would like to added multiple levels in this tree structure? in the current example only 2 levels are shown. Regards, M. Rizwan Khan _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
