--- In flexcoders@yahoogroups.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"}])
                        





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to