[Users] How to add multiple levels in Tree

M. Rizwan Khan mrizwan1.khan at gmail.com
Thu Feb 3 10:16:07 CET 2011


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/7fdcb5d5/attachment.htm 


More information about the Users mailing list