I have a global variable called categories. It is an XMLListCollection populated when a user logs in, representing the categories they have created.
I use the categories collection as a dataprovider in various controls. I also have a global variable called selectedItem. An item, among other attributes, has a list of assigned categories. What I am approaching is a view with two lists. One list contains the categories that have been assigned to the selected item. Easy: dataprovider = selectedItem.categories. The other list needs to contain the categories that have not been assigned to that item yet. The basis for the data is the global categories collection, but since the filterFunction is applied to the dataprovider and not the control itself, the filter function will affect all controls using the categories collection. What do I do? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

