PDA

View Full Version : Tree checkbox



liuqiyu
12 Dec 2007, 7:41 PM
how can i make it when I click the checkbox of the tree node, then make the parent node(unckeck before) checked ?
I write "parentNode.attributes.checked=true" but it not work. Help

liuqiyu
12 Dec 2007, 11:48 PM
i got it ,parentNode.ui.checkbox.checked = true;

playadata
14 Dec 2007, 5:10 AM
how about if you have a parent and leaves, check the parent, all leaves get checked. uncheck the parent, all leaves unchecked. check a subset of leaves and parent is a greyed out check (CSS control).