Hi, I have a tree which has multiple levels. I want to do the following:
1. When selecting a node at any level, all nodes and leaves under that node are deselected.
2. When selecting a node at any level, dynamically change the icons for the nodes and leaves under that level.
3. When a node is selected at any level, disable the ability to select any of the nodes/leaves under that node.
I have accomplished #1, I need help with #2 and #3. I'd appreciate any suggestions.
OK, I just figured out how to do #3. Now I really just need to know how to dynamically change the icons for the nodes and leaves under the selected
It's possible to change item's icon dynamically by editing it's item scope settings:
var o_iss = o_item.a_config;
o_iss['i0'] = 'alter_icons/item.gif';