I have a DataGrid whose dataProvider points to an ArrayCollection. The DataGrid 
displays the correct results on initial load. However, if the server pushes new 
data to the client through a DataService fill (I can see the correct results 
from the DataServices trace statements) the DataGrid is not populated correctly.

If the initial DataGrid was A, B, C, D and the server tells the DataGrid it 
should now be A, E, F, G the DataGrid would display A, E (sometimes just A).

First, I though that the DataGrid was not being refreshed properly, so I 
created a Collection_Change event on the ArrayCollection to refresh manually. 
When the CollectionEvent is fired the REMOVE event is what I expect with the 
event.items populated with the correct value. However, when it does an ADD, the 
event.items is almost always null. The REMOVE and ADD events are fired the 
number of times I would expect to get the correct results and the resulting 
ArrayCollection is the size I would expect, but the content is null.

If it's being initially populated correctly, and the removes are working, I 
wouldn't think that it would be a problem with the VOs. What else could the 
problem be?

Reply via email to