Looks like now you want to use the arrayCollection.collectionChange event to trap it.
 
Shan


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11
Sent: Monday, July 03, 2006 9:54 AM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

--- In [EMAIL PROTECTED]ups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
> You need to cast your dataprovider as an arrayCollection, not an array.

I updated the my array to an ArrayCollection type, but still no luck.
The function doDataChange() is still not being called.

public function updateData() {
trace("*** UPDATE DATA")
tempArray.source = [{col1:"Jack", col2:"Col2 A"}, {col1:"Col2 A",
col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 B"}];
tempArray.addItem({col1:"New 1", col2:"New 2"})
}

[Bindable]
public var tempArray:ArrayCollection = new
ArrayCollection([{col1:"Col1 A", col2:"Col2 A"}, {col1:"Col2 A",
col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 B"}])



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006

Reply via email to