Thanks. That works a little better. Where would I call it from? One
odd behavior: After maybe changing the image on a row 3 or 4 times
back to back, the new image doesn't show. I have to click on a button
elsewhere for it to update it to the new image. Any thoughts? Thanks.

--- In [email protected], Alex Harui <[EMAIL PROTECTED]> wrote:
>
> Try calling invalidateList()
> 
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of oneworld95
> Sent: Wednesday, October 22, 2008 3:50 PM
> To: [email protected]
> Subject: [flexcoders] Updating row of datagrid
> 
> 
> I've got a datagrid which displays an image (if one has been uploaded)
> for each record. The user can upload a new image file from within that
> row. I'm losing my mind trying to figure out how to update the row's
> image when the upload has completed.
> 
> The invalidateDisplayList() and invalidateProperties() are called in
> the uploadCompleted() handler method of the file upload process. The
> problem is that the selected row's image doesn't update to the new
> image until I've clicked on a button in the same record or another
> record. Very strange.
> 
> I've even tried setting the invalidateDisplayList() and
> invalidateProperties() inside the itemRenderer's set data() method!
> 
> Please help! Thanks in advance.
>


Reply via email to