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:01:53 UTC

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

Marcus Wilkinson created FLEX-33705:
---------------------------------------

             Summary: 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
             Fix For: Apache Flex 4.11.0


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