create another arraycollection and assign its source to the other
arraycollection's source

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of scott_flex
Sent: Monday, March 26, 2007 8:11 AM
To: [email protected]
Subject: [flexcoders] filterFunction issue with shared array collection
in model / shared list




I have a shared arraycollection of value objects. Singeton, only one 
instance of this array collection.

Dfferent views (in a tab navigator) are generated using this shared 
array collection but each view filters the data in a datagrid list with 
different criteria.

So.. in each view i utilized the filterFunction to correctly filter the 
array collection and only display what i needed into my datagrid. That 
works great.

However, when i set the filter function and refresh the arrayCollection 
all my other views (tab windows) change as well because they are all 
databound to the shared array collection...

This does make sense... but not what i want. Maybe i need to put the 
filter on the datagrid for each view, not the array collection.

Am i going about this wrong? I'm a newbie cairngorm and i believe this 
is an issue that others would run into.



 

Reply via email to