Found a solution: - Changed the Java servlet to concatenate the time in milliseconds to the filename, ensuring it will be unique. Earlier, the filename for that record was the same as its ID; this increased the likelihood of caching. - Modified the Flex app to refresh the dataProvider for the grid with each upload. Based on a tip by a blogger (http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/), I'm able to put the user back at the same record again after the refresh.
Hope this helps others running into this issue. --- In [email protected], "oneworld95" <[EMAIL PROTECTED]> wrote: > > 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. >

