Publishing for F9 with AS3, using Flash not Flex.
I have a simple DataGrid. I've added 9 items to its DataProvider. They
are simple objects of a type "Candidates" that doesn't extend any other
class.
I have columns for 4 public properties of Candidate: name, voteUnits,
percentVote and ran
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 are
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 for
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
dataProvider.invalidateItem(changedIte
boun...@chattyfig.figleaf.com] On Behalf Of Andrew
Sinning
Sent: Saturday, October 24, 2009 5:48 PM
To: Flash Coders
Subject: [Flashcoders] DataGrid not updating after DataProvider item
changes
Publishing for F9 with AS3, using Flash not Flex.
I have a simple DataGrid. I've added 9 items to its DataProvider.
> 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 a
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
> > And the dataprovider is also set to a [Bindable] property right?
>
> This is almost certainly the pro
7 matches
Mail list logo