Just wondering,

If a node returns false with hasChildNodes should the icon always be
the leaf icon and not folder, or is there something else that controls
it?

setIsBranch says ithe tree should do this automatically?

setIsBranch( node, branch)

Specifies if the node is a branch node. Nodes are automatically
configured as branch nodes when they have children. You only need to
call this when you create an empty branch node and want it to be
displayed using the folderOpenIcon and folderClosedIcon.

I was looking at the code from Ed's very nice example:
http://ed.eustace.net/index.php?id=15&itemId=5&sectionId=1

And would like to modify it so you could have an option for persistant
folders or not

TIA
-Rick


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to