After a bit more investigation it appears that it might be a redraw
issue since the last cell that is clicked is the one where the "ghost
data" appears. 

Is there a way to force the DataGrid and all custom renderers to
redraw? I've tried calling validateNow() on the DataGrid but it did
not have an effect.




--- In [email protected], "Paul Whitelock" <[EMAIL PROTECTED]> wrote:
>
> 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