incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyrill Zadra (JIRA)" <>
Subject [jira] [Commented] (FLEX-33248) Spark GridItemEditor cannot edit nested properties
Date Fri, 09 Nov 2012 18:24:11 GMT


Cyrill Zadra commented on FLEX-33248:


There is a wiki page that describes the steps to proceed for a patch. ->
if you need help just let me know.

> Spark GridItemEditor cannot edit nested properties
> --------------------------------------------------
>                 Key: FLEX-33248
>                 URL:
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.8 (parity release)
>            Reporter: Maxime Cowez
>            Priority: Minor
>         Attachments:
> To reproduce:
>     <s:DataGrid editable="true">
>         <s:columns>
>             <s:ArrayList>
>                 <s:GridColumn dataField="someProperty.nestedProperty" />
>             </s:ArrayList>
>         </s:columns>
>     </s:DataGrid>
> This will throw a "no such property" error when the user tries to edit a cell, because
GridItemEditor tries to access `_data[column.dataField]` in the `data` setter.  
> I filed it as a bug and not as an improvement, because it is inconsistent with `GridItemRenderer`'s
behaviour, which does render the nested property correctly.
> Note that the `save()` method is also affected: the item's property is accessed in the
same way there.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message