Hi
I’ve been trying to get a right-click menu to pop up on a grid since moving to Vaadin 8 without much success.
First of all I checked out the
demo
from GitHub and verified that the code was working from that example in my browser (to eliminate any browser dependancy).
I then copy/pasted the
GridContextMenu
example into my own project and it it doesn’t work! The only difference that I can think of between example and my project is the way I start up the UI with Spring (aside from all the other components that I’ve added, of course):
@Theme("mytheme")
@Title("My Web")
@SpringUI
public class MyUI extends UI {
@Autowired private SpringViewProvider viewProvider;
@WebServlet(value = "/*", asyncSupported = true) @VaadinServletConfiguration(productionMode = false, ui = MyUI.class, widgetset = "com.vaadin.DefaultWidgetSet")
public static class Servlet extends VaadinServlet { }
...
Any ideas as to why this would not work and how to fix?
Thanks in advance