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

AdvancedDataGrid iconFunction doesn't work with ArrayCollection as dataProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.14.1
    • None
    • Advanced Data Grid
    • None

    Description

      The iconFunction works when the dataProvider for the ADG is a GroupingCollection2 which has a ArrayCollection as source.

      The iconFunction doesn't work when the dataProvider for the ADG is a ArrayCollection.

      The ASDocs say:

      "The <mx:AdvancedDataGrid> tag inherits all of the tag attributes of its superclass, except for labelField, iconField, and iconFunction, and adds the following tag attributes:"

      But in the FlashBuilder the code completion works for iconField and iconFunction. Maybe the docs are la little bit wrong?

      In my attached example, you can see the iconFunction works when the dataProvider is a GroupingCollection2. Maybe it also work, when the dataProvider is a ArrayCollection.

      See also FLEX-31738

      Attachments

        1. test_Flex_4.14.fxp
          21 kB
          Marcus Fritze
        2. Main.mxml
          3 kB
          Marcus Fritze
        3. report.png
          0.6 kB
          Marcus Fritze
        4. Bildschirmfoto 2015-06-18 um 14.36.34.png
          79 kB
          Marcus Fritze

        Activity

          People

            Unassigned Unassigned
            marcusfritze Marcus Fritze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: