Thanks a lot for really quick answer. For some reasons (deserialization problems from RubyAMF ) I`ve changed it for an Array. I`ll get back to using ArrayCollection then.
btw. Is there a big performance/memory difference between Array and ArrayCollection ? In many cases I`m storing more than 10000 rows. Thanks Regards --- In [email protected], "Kenneth Sutherland" <[EMAIL PROTECTED]> wrote: > > You need to be using an arraycollection for bindable data, not the array > class. > > > > Kenneth. > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of piotrchruscielewski > Sent: 22 August 2008 09:07 > To: [email protected] > Subject: [flexcoders] Binding problem - not refreshing after Array.push > > > > Hi > > I have some problems with data binding. > > I make an array > [Bindable] > var ar:Array > and some DataGrid with datarovider=ar > > When I will pass this array to some other class - which will push new > object to it - my DataGrid doesn`t refresh. > > So I need to take care of it manualy. > > Is this normal or have I forgot about something ? > > Regards > > Piotr Chruscielewski > > > > Disclaimer > -------------------------------------------------------------------- ----------------------- > This electronic message contains information which may be privileged and confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone on 0131 476 6000 and delete the material from your computer. > Registered in Scotland number: SC 172507. > Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. > > This email message has been scanned for viruses by Mimecast. > -------------------------------------------------------------------- ----------------------- >

