flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33908) GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE is fired twice for each save event
Date Fri, 24 Apr 2015 12:04:38 GMT

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

Mihai Chira commented on FLEX-33908:
------------------------------------

Taking a look, it seems to be because GridItemEditor.save() calls "dataGrid.setFocus();",
which then triggers DataGridEditor.editor_focusOutHandler, apart from the normal handling
of the ENTER key. In other words, it was introduced by FLEX-28247.

> GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE is fired twice for each save event
> ------------------------------------------------------------------------------------
>
>                 Key: FLEX-33908
>                 URL: https://issues.apache.org/jira/browse/FLEX-33908
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.11.0
>         Environment: windows 7 (64 bit), FP 11.8.800.94 (debug), google chrome
>            Reporter: Paul Hastings
>              Labels: datagrid, easytest
>             Fix For: Apache Flex 4.12.0
>
>         Attachments: gridEvent.mxml
>
>
> spark datagrid that is firing off two 
> GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE events for a single save event.
> example illustrating issue:
> https://dl.dropboxusercontent.com/u/130830/flex/gridEvent.html
> source for that example:
> https://dl.dropboxusercontent.com/u/130830/flex/gridEvent.zip
> workaround:
> set flag indicating save is taking place, use it to ignore incoming doubled event.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message