[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-28 Thread Amy
--- In flexcoders@yahoogroups.com, Jason jason.merr...@... wrote: Just set the filterFunction to null and call refresh on the collection. But won't that clear our other things that are filtered? Meaning if I have 3 of 9 checkboxes selected - I don't want to reset them all -

[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Mike
Jason, I'm doing something similar with checkboxes and the DataGrid. Are you able to turn the visibility of your component on/off ? Rather than modify the dataset, you may be able to use a checkbox event to trigger the visibility change of your display component. ~Mike --- In

RE: [flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Tracy Spratt
@yahoogroups.com Subject: [flexcoders] Re: Best way to toggle elements in ArrayCollections Jason, I'm doing something similar with checkboxes and the DataGrid. Are you able to turn the visibility of your component on/off ? Rather than modify the dataset, you may be able to use a checkbox event

[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Jason
Rather than modify the dataset, you may be able to use a checkbox event to trigger the visibility change of your display component. Yeah, as I mentioned, thats what I tried to do, but unfortunately, I found out the component I am using does not allow access to individual display list items

RE: [flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Alex Harui
Filter function? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason Sent: Tuesday, January 27, 2009 2:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Best way to toggle elements in ArrayCollections Rather than modify the dataset, you may

[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Jason
Tracy, Using a filter function right? - thanks! Yeah, that's what I was looking for. I'll try that out and post back here if I have questions. However, I am wondering, does it permanently filter it or can I preserve the data for when I need to un-filter the arrayCollection? How would you

[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Amy
--- In flexcoders@yahoogroups.com, Jason jason.merr...@... wrote: Tracy, Using a filter function right? - thanks! Yeah, that's what I was looking for. I'll try that out and post back here if I have questions. However, I am wondering, does it permanently filter it or can I preserve

[flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Jason
Just set the filterFunction to null and call refresh on the collection. But won't that clear our other things that are filtered? Meaning if I have 3 of 9 checkboxes selected - I don't want to reset them all - perhaps I should just check each checkbox value and set it to filter

RE: [flexcoders] Re: Best way to toggle elements in ArrayCollections

2009-01-27 Thread Alex Harui
, a temporary list of references to the data items is used internally. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason Sent: Tuesday, January 27, 2009 6:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Best way to toggle elements