[Users] How to add multiple levels in Tree

M. Rizwan Khan mrizwan1.khan at gmail.com
Thu Feb 3 11:12:18 CET 2011


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 <
Lucia.Morper-Busch at sbg.ac.at> wrote:

> Hi Rizwan, have a look at the LayerTreeBuilder:
>
>
>
>
> http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/examples/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:* users-bounces at geoext.org [mailto:users-bounces at geoext.org] *Im
> Auftrag von *M. Rizwan Khan
> *Gesendet:* Donnerstag, 03. Februar 2011 10:16
> *An:* IT Intern
> *Cc:* users at geoext.org
> *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 <itintern12 at gmail.com> 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 <mrizwan1.khan at gmail.com>
> 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
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110203/cdc21279/attachment.htm 


More information about the Users mailing list