Hi,
I like to make and treeview where the user checks the checkbox from and random node and all the child and parent nodes must be checked or unchecked, relative from the random node.
node1 (check)
node1.1
Node 1.1.1
node 1.2 (check)
node 1.2.1
node 1.2.2 (check)
node 1.2.2.1 (if this one is checked)
node 1.2.2.1.1 (check)
node 1.2.2.1.2 (check)
node 1.2.2.1.3 (check)
node 1.2.2.1.3.1 (check)
.... (check)
What is the best way to do this?
Thanks
I'm not following what you mean by "random node", but the following KB article demonstrates how to automatically adjust the check state of a parent node when one of its child nodes is checked or unchecked, and how to adjust the check state of all child nodes when the parent's check state changes.