How to add link on Grid row?

Hello,

I have requirement that when user clicks on grid row, it should open or download file. So how to create link on grid row. I have tried open external resource with browserWindowOpner but it is only opens new window link is not getting open. I am trying to open PDF file which is stored localy on project folder only. If I open like www.google.com with this mechanism it is working but local file opening is not working.

How to achieve it, please let me know if anyone has done it before.
Thank you

I have been experimenting with similar use case also. Thus I wrote BrowserOpenerRenderer to Grid Renderers Collection add-on. You could check if that works for you:


https://vaadin.com/directory/component/grid-renderers-collection-for-vaadin7