Hi,
Because the dropdowntree API is so sparse (I do not really understand why it does not have the same API as the treeview for that part of the control), I am looking at using the treeview in a combobox. Assuming the following tree structure:
Two levels only
Level 0a
Level 1a
Level 1b
Level 0b
Level 1c
Level1d
I need to be able to click on a Level 0 item and select its child noes, but not the Level 0 node itself. In other words, after clicking on Level 0a in the above structure, I need to to look like this:
Level 0a - unchecked
Level 1a - checked
Level 1b - checked
Level 0b -unchecked
Level 1c -unchecked
Level1d - unchecked
Is there an easy way to do this? Also, it would be great if I could uncheck the nodes in the other branches as well.
Because the dropdowntree API is so sparse (I do not really understand why it does not have the same API as the treeview for that part of the control), I am looking at using the treeview in a combobox. Assuming the following tree structure:
Two levels only
Level 0a
Level 1a
Level 1b
Level 0b
Level 1c
Level1d
I need to be able to click on a Level 0 item and select its child noes, but not the Level 0 node itself. In other words, after clicking on Level 0a in the above structure, I need to to look like this:
Level 0a - unchecked
Level 1a - checked
Level 1b - checked
Level 0b -unchecked
Level 1c -unchecked
Level1d - unchecked
Is there an easy way to do this? Also, it would be great if I could uncheck the nodes in the other branches as well.