Just a follow up on this...the tree I have is seeded with a few nodes; however, when I dynamically add the branches/leafs to those seeded nodes, the indexOf call fails on the newly added nodes.
Perhaps I'm running into the "grandchildren" note the API docs refers too re: this method...however, if that was the case, why would the seeded values return valid index values, which on the start of building the tree are just leafs... TIA ________________________________________ From: Rob [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 4:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] tree indexOf Hi, Just need a sanity check. It appears that newNode=parentNode.addTreeNode() returns the newly added node, if I then want to obtain the index of that newly added node wouldn’t I do something like index = treeObj.dataProvider.indexOf(newNode) ? TIA Yahoo! Groups Sponsor ADVERTISEMENT ________________________________________ 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 the Yahoo! Terms of Service. 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/