Would selectedItem = null work?

Cordova Aaron wrote:
> I have created a list of names and I have a filter that I apply to show names 
> that start with a particular letter. I also have button that removes the 
> filter so that all names are displayed again. Is there a way to clear the 
> selectedItem of the mx:List so that every time I apply the filter the 
> selectedItem becomes unset? The issue I'm running into is when there is a 
> selected name in a view then the filter is run the selectedItem seems to be 
> cleared, but once I go back to the "all" view the item is reselected. I have 
> tried calling the refresh method on my xml collection data provider but this 
> doesn't seem to do the trick. 
>
>
>
>       
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>
>   

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust


Reply via email to