I have an ext treenode setup with a checkbox, and under it are children geoext layernodes configured as a checkedGroup. I have a listener on the checkbox parent to disable the children and collapse the whole node, but I also want to turn off display of whichever layer is selected in the checkedGroup when the parent is unchecked.
x checked, all children enabled o checkedGroup item 1 . checkedGroup item 2 (selected, displayed) o checkedGroup item 3 O unchecked, all children disabled o checkedGroup item 1 . checkedGroup item 2 (still selected, but NOT displayed) o checkedGroup item 3 Disabling the children nodes doesn't turn off display of the selected node's layer. I've tried unchecking all the children, but of course as a checkedGroup one must be checked so it rechecks the node (I see the map display flicker as it's briefly turned off then back on). Hiding the nodes doesn't work either. Is there some way to turn off the display of a checkedGroup without removing the children completely from the tree (probably destroying them also to get rid of the grouping), and adding them back to the tree when the group parent is checked? Can the checkedGroup be changed on the fly (remove the group status so I can turn them all off), or only in configuration options? ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ "Time is an illusion - lunchtime doubly so." - Ford Prefect _______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users