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
540
expand/collapse all nodes in one level
posted

hi all,

I'm trying to expand or collapse all nodes in level x .doing a search on chart nodes and then go through each node using a foreach loop and changing isexpanded is working but it's too slow when the number of nodes in level x gets greater than 4-5 .

 

my guess is every time I set the isExpanded for each node it's trying to re arrange the nodes . 

is there anyway that I can improve the performance ? I was looking for a way to disable the node rearranging before changing the isExpanded for each node and when all is done enable it again but there was no method for doing it (or I couldn't find it) .

 

thanks