vaadin 8.1 How to get grid row selected upon right click ?

I can open a context menu on grid on right click… but unable to select row on which I expect context menu action to happen ?

How do I get row object on which context menu is opened.

please help.



above did the trick for me.