Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-27 Thread Mauro Martins
If i got it right he his using Flash not Flex, and so, there is no ArrayCollection to be [Bindable] unless you can mimic in some way the ArrayCollection Class on Flash. 2009/10/26 Dave Watts dwa...@figleaf.com And the dataprovider is also set to a [Bindable] property right? This is almost

RE: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Merrill, Jason
Have you tried myDataGrid.dataProvider.refresh(); And the dataprovider is also set to a [Bindable] property right? Jason Merrill Bank of America Global Learning Learning Performance Soluions Monthly meetings on making the most of the Adobe Flash Platform - presented by bank associates,

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Dave Watts
And the dataprovider is also set to a [Bindable] property right? This is almost certainly the problem, right here. Array isn't Bindable, ArrayCollection is. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Karl DeSaulniers
Can you set up a function to listen for any changes to the data and refresh when a change happens? J.A.T. Karl On Oct 24, 2009, at 4:48 PM, Andrew Sinning wrote: Publishing for F9 with AS3, using Flash not Flex. I have a simple DataGrid. I've added 9 items to its DataProvider. They

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Andrew Sinning
I'm now listening for changes and then using dataProvider.invalidateItem(changedItem). Works as it should. Is there a class that I should be extending with my Candidate object in order to take advantage of some built-in events. Karl DeSaulniers wrote: Can you set up a function to listen

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Karl DeSaulniers
Try this. myDataGrid.dataProvider=myDataGrid.dataProvider; I found it here: http://asji-lab.blogspot.com/2005/10/datagrid- refresh-contents.html HTH Karl On Oct 24, 2009, at 5:11 PM, Andrew Sinning wrote: I'm now listening for changes and then using