Is there a way to catch doubleclick event in table?
I have a Window with Table and when user doublecliks one row in table I would like to select that row and close the Window.
I already have select event and close button, but doubleclick would be “faster” way to do that.
Adding an ItemClickListener to Table (addListener(ItemClickListener)) should do the trick.
It’s a quite new feature, and if I remember correctly, there is still one peculiarity that has not been fixed: when the user doubleclicks, you first get a single-click event, then a double-click event. This is not good, and should be fixed (if it has not been already, I’m not 100% sure), but it should not affect your case - just something to be aware of…