Also note that some data objects do not automatically dispatch change events and thus itemUpdated must be called.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, November 19, 2008 8:04 PM To: [email protected] Subject: Re: [flexcoders] ChangeWatcher watch ArrayCollection You need to add an event listener for CollectionEvents to model.positionInfoProvider. The reason they're separate mechanisms is there's different CollectionEventKinds for add / delete / move (so you know about filters and stuff) and update. -Josh On Thu, Nov 20, 2008 at 1:27 PM, Fu Di <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: hi every one i used ChangeWatcher to watch an AC, code like this: ChangeWatcher.watch(model, "positionInfoProvider", dataListener); "positionInfoProvider" is the AC. when one element of "positionInfoProvider" was changed, the ChangeWatcher can't listen it. unless i give AC a new value. i do't want to do this. any idea?? extend problem, i used an AC as DataGrid 's provider , i just want to change a element of the AC to make DataGrid update. how to do it?? thanks -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk

