I have a single row DataGrid with a typed object bound as a data
provider. When data is entered in all columns the handler for
itemEndEvent updates another DataGrid and creates a new empty object
that replaces the previous data provider for the DataGrid.

Even though the data in the new object that replaces the old data
provider is empty, the data that was previously entered in the
DataGrid columns randomly fills one or two of the five columns that
should be empty (it most often happens with two DateFields that are in
custom item renderers). Though data appears in the column cell, if you
try to get the data it comes back as null.

Somehow the DataGrid or the custom item renderer is caching the
previous data and randomly re-displaying it. I've tried setting the
DataGrid data provider to null, then attaching the new empty object as
the data provider, but the ghost data still comes back.

Any ideas how I can clear this old data when I replace the data
provider for the DataGrid so it doesn't reappear in columns that
should be empty? Thanks.

Reply via email to