-
Tree Component - changing style of opened node
Hi.
I am using the tree component as a navigation system for a site.
I am expanding the tree onload to a particular node - (for example when the aboutus.html page is loaded, I expand the about us node)
I do this like so:
currentPage = myTree.getTreeNodeAt(1).getTreeNodeAt(0).getTreeNo deAt(0);
myTree.setIsOpen(currentPage, true);
This works!
Now I m trying to change the look of this selected node by doing this:
currentPage.setStyle("color", 0x000000);
This deonst work...
Can anyone help?
Also if anyone knows how to automaticaly close all opened nodes before opening a new one - I would love to know how...
Thanks
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|