I have a DataGrid that has it's DataProvider set to an ArrayCollection
that is defined in a ModelLocator (I'm using Cairngorm). The
ArrayCollection has defined ValueObjects in it. When I make a change
to any of the ValueObjects in the ArrayCollection, the DataGrid is
updated (via binding) and the changed values are displayed.
What I want to do is catch the data changing so that I can also update
some text around the DataGrid that notes the total number of items in
the DataGrid vs. the total number that meet a certain criteria.
Is there a way to listen for changes to the underlying data in a
DataGrid? I have tried the valueCommit and dataChange but they do not
seem to get fired when a change the ArrayCollection happens.