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 Wilkinson (JIRA)" <ji...@apache.org> on 2013/09/04 12:03:59 UTC

[jira] [Updated] (FLEX-33705) DataGridDragProxy created item renderer without a reference to the column

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

Marcus Wilkinson updated FLEX-33705:
------------------------------------

    Attachment: DataGridProxyNullPointer.mxml
                FixNullColumnPatch-ApplyToSpark-DataGridDragProxy.patch
    
> DataGridDragProxy created item renderer without a reference to the column
> -------------------------------------------------------------------------
>
>                 Key: FLEX-33705
>                 URL: https://issues.apache.org/jira/browse/FLEX-33705
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Drag and Drop, Spark: DataGrid
>    Affects Versions: Apache Flex 4.10.0
>            Reporter: Marcus Wilkinson
>              Labels: datagrid, drag, itemrenderer
>             Fix For: Apache Flex 4.11.0
>
>         Attachments: DataGridProxyNullPointer.mxml, FixNullColumnPatch-ApplyToSpark-DataGridDragProxy.patch
>
>
> spark.components.gridClasses.DataGridDragProxy:createChildren()
> This method instantiates IGridItemRenderer instances for visual feedback on dragging from a spark datagrid.
> IGridItemRenderer has a property column:GridColumn which is not set and will be null for any item renderer created through this mechanism.
> Since we have a reference to the column at instantiation time I don't see any problem with assigning it to the instantiated item renderer.
> Attached is an example of the issue, and a patch which will assign the column to the item renderer instance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira