[ https://issues.apache.org/jira/browse/FLEX-17300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640076#comment-13640076 ]
Justin Mclean commented on FLEX-17300: -------------------------------------- Also test if this is issue with spark Lists > 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