You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2014/01/20 08:37:23 UTC
[jira] [Commented] (FLEX-34051) RTE in endEdit() when clicking at
bottom of column
[ 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)