Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How to select cell content in a grid
I'm trying to select some grid cell content with the mouse to copy it to the clipboard. But the selection is always cleared after releasing the mouse button.
I found the same behavior in the vaadin sampler "Basic Features" - http://demo.vaadin.com/sampler/#ui/grids-and-trees/grid/features.
Only in the "Column renderers" sample - http://demo.vaadin.com/sampler/#ui/grids-and-trees/grid/renderers - it works much better - at least for the name column. The name column based on a HtmlRenderer and I try a HtmlRenderer in my sample too - but without success. So I have not idea where the diffrent is.
Can anyone suggest how to do something like that ?