I Would like to have two buttons on my site. Expand All, collapse All
Im using treeView jquery plugin: http://plugins.jquery.com/project/treeview
I cant find solution for doing that :/
Also while im generating ul li list dynamically on aspx server side code I would like do determine accorgind to queryString parameter which node should be expanded while others closed. I tried adding to each one class closed while to given one none but it didnt work :/
How can I say which node should be expanded ?
Thanks for any help, bye
If you look at the demo’s you should see exactly what you need for example 4.
Add the following to your page:
And when you wire up your tree control specify the ‘treecontrol’
Be warned
The order of your anchor tags is important in your control as the plugin uses
.eq()to assign the appropriate functions.