Upload button in Grid?

With Table we used ColumnGenerator to generate:

  1. One column with an html snippet to retrieve the file
  2. One column with a com.vaadin.ui.Upload to upload a new file

The download link I can more or less do with an HTMLRenderer, but what about the Upload button?

Vaadin has com.vaadin.ui.Upload, that encapsulates most of the work, but I can’t use that from a Renderer.
As far as I can see, I can’t use it in the grid editor row either.

The closest I can think of is to have a ClickableRenderer of some sort, and onClick create an instance of Upload, add it to the UI somewhere, hide it with a css class and fake a click on it. Seems really messy.

Anyone have a better idea?