flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-17300) After filtering datagrid's dataprovider (arraycollection) not deselecting selectedItem
Date Wed, 24 Apr 2013 05:01:19 GMT

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

Justin Mclean updated FLEX-17300:
---------------------------------

    Component/s: mx: List
    
> After filtering datagrid's dataprovider (arraycollection) not deselecting selectedItem
> --------------------------------------------------------------------------------------
>
>                 Key: FLEX-17300
>                 URL: https://issues.apache.org/jira/browse/FLEX-17300
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Data Binding, mx: DataGrid, mx: List
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>              Labels: easyfix, easytest
>
> Steps to reproduce:
> 1. Run the app,
> 2. Select any row in the datagrid and click the button.
>  
> 3. If you clicked the first row, the component should still show Test1, otherwise it
should show nothing.
>  
>  Actual Results:
> The selectedItem in the datagrid doesn't change when the dataprovider filters the actual
item out.
> Even setting the datagrid.selectedItem to null doesn't work.  
>  Expected Results:
> When you click the button after selecting the second or third row, you should see the
component at the top clear it's value as it's bound to the selectedItem of the datagrid and
that datagrid has filtered out the second and third rows. 
>  
>  Workaround (if any):
>  The only workaround is to explicitly set the datagrid's selectedIndex to -1. (Workaround
is commented in the submission).

--
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: http://www.atlassian.com/software/jira

Mime
View raw message