0 Replies Latest reply on Feb 18, 2009 4:33 PM by deepa subramaniam (adobe)

    [svn:fx-trunk] 5002: Fix up the lookup in DataGroup when finding the appropriate index in the dataProvider given a particular renderer .

    deepa subramaniam (adobe) Level 2
      Revision: 5002
      Author:   dsubrama@adobe.com
      Date:     2009-02-18 16:33:42 -0800 (Wed, 18 Feb 2009)

      Log Message:
      -----------
      Fix up the lookup in DataGroup when finding the appropriate index in the dataProvider given a particular renderer. With this fix, we now correctly support FxLists's displaying and interacting correctly with duplicate items in the dataProvider, a la:


         
              Flex
              Flex
              Flex
         



      The lookup now goes through the itemToRenderer data structure which holds the on-screen renderers.

      Reviewer: Ryan
      Tests: Checkin, yes. Mustella tests: DataGroup, FxDataContainer, FxList, FxButtonBar pass.
      QA: Yes, lets get tests for this added to FxList testsuite
      Doc: No

      Modified Paths:
      --------------
          flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as