You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Marcus Fritze (JIRA)" <ji...@apache.org> on 2015/06/18 14:37:00 UTC

[jira] [Updated] (FLEX-34894) AdvancedDataGrid iconFunction doesn't work with ArrayCollection as dataProvider

     [ https://issues.apache.org/jira/browse/FLEX-34894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Fritze updated FLEX-34894:
---------------------------------
    Attachment: Bildschirmfoto 2015-06-18 um 14.36.34.png
                report.png
                Main.mxml
                test_Flex_4.14.fxp

> AdvancedDataGrid iconFunction doesn't work with ArrayCollection as dataProvider
> -------------------------------------------------------------------------------
>
>                 Key: FLEX-34894
>                 URL: https://issues.apache.org/jira/browse/FLEX-34894
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Apache Flex 4.14.1
>            Reporter: Marcus Fritze
>            Priority: Minor
>         Attachments: Bildschirmfoto 2015-06-18 um 14.36.34.png, Main.mxml, report.png, test_Flex_4.14.fxp
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)