Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21099

Changing the dataProvider on a DataGroup doesn't reuse the renderers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: DataGroup
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a DataGroup, assign a renderer and set a dataprovider
      2. set a new dataProvider on the DataGroup

      Actual Results:
      All previously created renderer instances are thrown away and new ones are created

      Expected Results:
      Previously created renderers should be re-used and should only be trhown away when itemRenderer is cahnged

      Workaround (if any):
      Write your own DataGroup

      A few use cases are discussed in this thread:

      https://prerelease.adobe.com/project/forum/thread.html?cap=0fd791c2813e41db94d510b8e18a1952&forid=

      {1078395B-E336-42BD-8D32-5F31A82023E0}

      &topid=

      {3C3B7C14-66BC-4DA0-8016-27CF19B2C1D6}

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: