I'm not sure if my code has a bug or if I don't understand how the DataGrid
is supposed to work.

I have a DataGrid with a dataProvider that extends ArrayCollection.  The
only overridden behavior is that if dataProvider is supposed to return null,
it throws an ItemPendingError instead.

Here's psuedo-code for what's going on:
dataGrid.dataProvider = new ArrayCollectionExt(); // works, dataGrid is
blank
dataGrid.dataProvider.source = new Array(newLength);  // works, DataGrid
gains scrollbar and has no values
dataGrid.dataProvider.setItemAt(objectSource, 0); // dataGrid is not
updated.

Am I doing something fundamentally wrong or do I need to track down a bug in
my code?

Thanks,

- Dan Freiman

Reply via email to