You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "pol poggi (Jira)" <ji...@apache.org> on 2021/03/24 01:13:00 UTC

[jira] [Updated] (FLEX-35416) spark DataGrid gridItemEditorSessionSave event.rowIndex return -1

     [ https://issues.apache.org/jira/browse/FLEX-35416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

pol poggi updated FLEX-35416:
-----------------------------
    Description: 
Hello,

in a spark Datagrid

_<s:DataGrid gridItemEditorSessionSave="gridItemEditorSessionSaveHandler(event)"/>_

_private function gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void_
 _{_
         _trace( event.rowIndex );_
 _}_

when I sort a column, event.rowIndex can return -1 ?

 

(gridItemEditorSessionStarting return the correct rowIndex)

Thanks

  was:
Hello,

in a spark Datagrid

_<s:DataGrid gridItemEditorSessionSave="gridItemEditorSessionSaveHandler(event)"/>_

_private function gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void_
_{_
        _trace( event.rowIndex );_
_}_

when I sort a column, event.rowIndex can return -1 ?

 

(gridItemEditorSessionStarting return the correct rowIndex)

Thanks


> spark DataGrid gridItemEditorSessionSave event.rowIndex return -1
> -----------------------------------------------------------------
>
>                 Key: FLEX-35416
>                 URL: https://issues.apache.org/jira/browse/FLEX-35416
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.16.1
>            Reporter: pol poggi
>            Priority: Major
>
> Hello,
> in a spark Datagrid
> _<s:DataGrid gridItemEditorSessionSave="gridItemEditorSessionSaveHandler(event)"/>_
> _private function gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void_
>  _{_
>          _trace( event.rowIndex );_
>  _}_
> when I sort a column, event.rowIndex can return -1 ?
>  
> (gridItemEditorSessionStarting return the correct rowIndex)
> Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)