This content has been marked as final. Show 5 replies
I know this is a really basic thing I'm just looking for the terminology used in flex so I can use the right keywords to find a technote or web example to study. If you want to only show certain records in a chart or data view based on user input, what do you call that in the Flex / Flash / AS environment?
There are many examples of doing this on the Web. Try doing a search for "filtering data", flex.
Note that you'll want to have your data provider as either an XMLListCollection or ArrayCollection to make use of the filterFunction property.
Thank you very much I do have data in an XMLList, is that different from an XMLList Collection?
I think you can wrap your XMLList in an XMLListCollection with:
var xlc:XMLListCollection = new XMLListCollection(myXMLListObject);
You can also filter XML directly, though you use e4x expressions instead of the collection API.