I have a table where on want to do something on double click. So I add a ItemClickListener like so:
table.addItemClickListener(new ItemClickListener() {
@Override
public void itemClick(ItemClickEvent event) {
if (event.isDoubleClick()) {
…
}
}
});
But once I add the ItemClickListener right click now does nothing. It doesn’t even bring up the standard browser menu (I’m using Chrome (Version 43.0.2357.134 m).
Is there a way to allow right clicks to maintain their standard functionality while still capturing double click?