I have the tree working ok. I have one problem though. I want the nodes to display the member names but once clicked i want them to pass the memberid. Is there a way to have the node text be the member name and have the node value be the memberid?
Thanks
Alternatively to value you can also store data like that in the tag. Just store the value in the tag when you build the tree and then client side you can use the node.getTag() function to get the value...
The treenodes have properties Text and Value.
In property Text you set the text you want to show, in Value you put the stuff you need when a user clicks on a node.