Grid and Context Menus

Is it possible to show a context menu for a specific row on a grid? With the table we had Action and action handlers but I can’t find the equivalent for the grid component. If it’s possible an example would be very helpful. :wink:

Check out the new
ContextMenu add-on from Vaadin Ltd
. I believe there’s an example of how to use it with Grid in their GitHub repo. This new add-on requires Vaadin 7.6+ as it builds upon the
ContextClickEvent
which was only fully implemented for all components with v7.6.

There’s a slight
usability issue
in the sense that the focus of the component doesn’t follow the context-click which may be somewhat confusing for the end user, in particular with Grid. However this hasn’t prevented me from using it in production with Grid.