Interesting question ... Did you try the method described in this thread ?
On 2/27/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
Nice. What if in this case user.projects.myArrayCollection contained a arraycollection of tasks, and each tasks had a array collection of activities. how do you watch for a change in a activity and fire dataGrid.invalidateList (); ?? DK On 2/24/07, Yiðit Boyar <[EMAIL PROTECTED]> wrote: > > i had a similar problem; when an array collection in my model is > changed; my datagrid should be refreshed so here is my code: (here ; > user.projects is an arrayCollection) > in the creation complete of the mxml file : > ModelVT.getInstance > ().user.projects.addEventListener("collectionChange",dgYenile); > private function dgYenile(e:Event):void{ > dataGrid.invalidateList(); > } > > ----- Original Message ---- > From: Webdevotion <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Saturday, February 24, 2007 11:20:34 PM > Subject: [flexcoders] Finding out when an arraycollection in my model is > set > > Hello, > > How can I now when my arraycollection in my modellocator is filled with > items ? > I tried using collectionEvent. collection_ change, but it does not fire > when > setting my AC like this in my command, after the remoting result > handler: > > model.library = new ArrayCollection( data.result) ; > > What is the correct way ? ( I'm using Cairngorm ) > > > > ------------------------------ > It's here! Your new message! > Get new email alerts<http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/>with the free Yahoo! > Toolbar. > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?