Posted on Jun 19, 2009
(permalink)
Hey everyone, I'm trying to find a way to code my panelbar to collapse the 3rd child rows when a different 2nd child row is selected from a different parent. My panel bar contains 3 levels as shown below. As you can see below, the parent rows and its child rows are always shown. Yet when I click on a different parent's child, I want the other parent's child's children to close. Setting the panel bar's expandMode to "SingleExpandedItem" gets close to this functionality except for when i click on a different parent's child, all the other parents close right up along with it, where as i would like the childs to close up and leave the parent rows open. I hope this is enough and isn't too confusing. Thanks in advanced for any help, Kyle.
BEFORE
ParentA -
Child1.1+
Child1.2+
Child1.3-
-Child2.1
-Child2.2
-Child2.3
ParentB -
Child1.4+
Child1.5+
ParentC -
Child1.6+
AFTER
ParentA -
Child1.1+
Child1.2+
Child1.3+
ParentB -
Child1.4+
Child1.5+
ParentC -
Child1.6-
-Child2.4
ANOTHER AFTER
ParentA -
Child1.1+
Child1.2-
-Child2.5
-Child2.6
Child1.3+
ParentB -
Child1.4+
Child1.5+
ParentC -
Child1.6+