[
https://issues.apache.org/jira/browse/FLEX-11456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Kessler closed FLEX-11456.
-------------------------------
> DataGrid.focusInHandler doesn't work correctly with a button inside a header
> renderer
> -------------------------------------------------------------------------------------
>
> Key: FLEX-11456
> URL: https://issues.apache.org/jira/browse/FLEX-11456
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DataGrid
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Firefox 2.x
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Mark Kessler
>
> Steps to reproduce:
> 1. create a DataGrid with a custom header renderer that contains a button
> 2. run the app
> 3. click the button
>
> Actual Results:
> Runtime error on line 3909 of DataGrid.as trying to dereference pos.y, when
> pos is null, presumably because of an invalid cast in the line above. For
> some reason, 'target' is assumed to be the item renderer (an
> IListItemRenderer), but it is actually the DataGrid itself.
>
> Expected Results:
> no error
--
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