flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pol poggi (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35416) spark DataGrid gridItemEditorSessionSave event.rowIndex return -1
Date Wed, 24 Mar 2021 01:13:00 GMT

     [ 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)

Mime
View raw message