WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Iterate through nodes in xLoadTree, or open_by_id(), John Drago, September 2, 2003
     Re:Iterate through nodes in xLoadTree, or open_by_id(), Erik Arvidsson, September 2, 2003

Subject: Iterate through nodes in xLoadTree, or open_by_id() From: John Drago Date: September 2, 2003

Hi,

I'm doing some testing with the xLoadTree widget.  I want to iterate through all nodes within the tree.

I want to produce an effect similar to the MSDN "Sync TOC" button, which will seek out the corresponding node within the tree menu to go along with the page you are looking at on the right.

If I could pass on a node ID and open() that, that would work maybe, but I'm not sure how to acquire the IDs of the nodes as they are created, or assign them within the constructor or in the XML attribute list.

I see the WebFXTreeAbstractNode has the methods getNextSibling() and getPreviousSibling(), but I'm not sure how to access these methods directly, or if I even should.

Thanks for your help, and this awesome collection of widgets!




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX