In Vaadin 8 we had the ItemClickListener on the Grid, giving us apart from very useful information like “isDoubleClick” also a reference to the Column where the click occured.
(Knowing what Column was clicked is important to us due to our data-model)
Is there any kind of replacement in Vaadin 10?
I tried adding a EventListener to a Column but the event does not seem to be fired:
Grid<DAO> gr = new Grid<>();
Column<DAO> col = gr.addColumn(...);
col.getElement().addEventListener("click", e -> lastColumnClicked = col);