flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34051) RTE in endEdit() when clicking at bottom of column
Date Mon, 20 Jan 2014 07:37:23 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876220#comment-13876220
] 

Justin Mclean commented on FLEX-34051:
--------------------------------------

RTE occur because columnIndex is out of range in this line:
dataGridEvent.dataField = _columns[editedItemPosition.columnIndex].dataField;

This is caused when a cell is not found in the focusInHandler method which leave _editedItemPosition.columnIndex
set at _columns.length (i.e. which out of range).


>  RTE in endEdit() when clicking at bottom of column
> ---------------------------------------------------
>
>                 Key: FLEX-34051
>                 URL: https://issues.apache.org/jira/browse/FLEX-34051
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Apache Flex 4.10.0
>            Reporter: Justin Mclean
>            Assignee: Justin Mclean
>
> When clicking multiple time in quick succession in and around last row in ADG a RTE error
occurs.
> TypeError: Error #1010
> 	at mx.controls::AdvancedDataGridBaseEx/endEdit()
> 	at mx.controls::AdvancedDataGridBaseEx/mouseDownHandler()
> 	at mx.controls::AdvancedDataGrid/mouseDownHandler()
> 	at flash.events::EventDispatcher/dispatchEvent()
> 	at mx.core::UIComponent/dispatchEvent()
> 	at mx.managers::SystemManager/mouseEventHandler()



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message