[Users] How can I add more levels of nodes ?

Andreas Hocevar ahocevar at opengeo.org
Fri Oct 22 14:36:51 CEST 2010


Hi,

Ext.tree.* is complex, and I'm not aware of a good tutorial or reference. Basically my findings about it came only from looking at the source code.

The take home message here is: the default nodeType depends on the loader.

Regards,
Andreas.

On Oct 22, 2010, at 14:30 , Alexandre Dube wrote:

> On 10-10-22 03:39 AM, Andreas Hocevar wrote:
>>> Does anyone have any idea of what I'm doing wrong ?
>>> 
>> Check for two things:
>> * Is the node in question an AsyncTreeNode? If so, you have to configure it with the correct loader (remember: applyLoader is set to false on the root)
>> * If you don't want the node to be an AsyncTreeNode, configure it with the appropriate node type (e.g. nodeType: "node").
>> 
> 
>   Yep, setting nodeType: "node" did the trick.  About this property, 
> when I was looking for a solution in the Ext documentation page, I 
> didn't find anything about it.  Any clue where it might be located ?
> 
> Thanks again,
> 
> -- 
> Alexandre Dubé
> Mapgears
> www.mapgears.com
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list