1 Reply Latest reply on Jul 24, 2007 2:00 PM by rbetieh

    ADG question

    rbetieh Level 1
      Hi All,

      Up until now I hadnt tried the ADG's grouping feature, but I wanted to test it so I could use summary rows and have run into a problem that I dont know how to fix.

      Up until now I had been taking advantage that the ADG datasource index was the same as the SelectedIndex. In other words:

      Assume ArrayCollection dsource
      Assume ADG with datasource="{dsource}" selectionMethod = "cell" click ={ doSomething(dsource[ADG.selectedIndex])}

      This works for the no-grouping model but not for the grouping model because the selectedIndex no longer matches the datasource index because of the added rows for grouping names and summary rows. Is there any code examples to work around this?