[ https://issues.apache.org/jira/browse/FLEX-33705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Kessler reassigned FLEX-33705:
-----------------------------------
Assignee: Mark Kessler
> 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
> Assignee: Mark Kessler
> 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
|