1 Reply Latest reply on Aug 20, 2007 12:08 PM by ebelair

    Advanced DataGrid - Hiding/Showing Columns Based on the Child Level Clicked

    ebelair Level 1
      I have a Flex App that displays an Advanced DataGrid with three tree levels. The default view displays one additional data column. When a child on the second level of the tree is opened, two additional columns are displayed. I want these columns to remain open as long as any child on the second level is opened. I can't find a way to make this work - I can get the columns to display when the 2nd level child is clicked, but I can't find a away to keep them visible until the last child on that level is closed (see my attached code). Is there some way to loop through all of the items in the Data Collection to see which ones are opened, and then access the data associated with each???

      Code attached (some pieces that are unrelated have been left out).

      Please help.

      Thank you.