Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Different types of "selecting" a row in grid

Michael Hilgers
6 years ago Mar 03, 2016 2:02pm
Teemu Suo-Anttila
6 years ago Mar 03, 2016 2:11pm
Teemu Suo-Anttila
6 years ago Mar 03, 2016 2:11pm
Michael Hilgers
6 years ago Mar 03, 2016 2:57pm
Jouni Koivuviita
6 years ago Mar 07, 2016 8:32am
Michael Hilgers
6 years ago Mar 11, 2016 8:35am
Michael Hilgers
5 years ago Oct 27, 2016 11:53am
Jouni Koivuviita
5 years ago Nov 04, 2016 8:10am

Hi Micheal,

Sorry for the late response, I didn’t remember to check the forum lately (and it’s quite unfortunate that our forum software doesn’t have support for subscribing a whole category, only single topics).

No real progress on this for grid 1.x, but 2.0-pre should already support this, where you should be able to listen for cell clicks. I’ll find you an example about this, just a sec.

Jouni Koivuviita
5 years ago Nov 04, 2016 9:25am

Here are the latest demos for grid 2.0.0-pre.2: https://cdn.vaadin.com/vaadin-core-elements/preview/vaadin-grid/demo/selection.html

You can see in the last example how to use the cell click events, and update the selection using that. So you should be able to combine the first and last examples and get the behavior you need.

Michael Hilgers
5 years ago Dec 08, 2016 7:51am
Michael Hilgers
4 years ago Jul 05, 2017 10:06am
Michael Hilgers
4 years ago Jul 05, 2017 10:37am
David Chisholm
4 years ago Oct 21, 2017 8:12pm