Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Save Expand/Collapsed Node State
posted

I have started working on a section of storing the Expanded state of each Parent/Child node.

How would the best way to do this?

For example do I store the name of the text of the child/parent node and then loop through and find that name then expand it?  Or would it be better to store an id of sorts. 

Right now, I am storing the text value...But wondered if there was a better way.

Then in vb, how would I loop through the parent/child nodes to expand/collapes then after tree is loaded?