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.

Make Grid Rows Focusable?

Burke Ingraffia
5 years ago Aug 18, 2016 2:49pm

I have a grid on a page where the whole row is selectable with a mouse click.

I want the grid rows to be focusable so that I can tab to the rows and select the row with the enter key.

Is there a way to set each grid row as focusable?

Marcus Hellberg
5 years ago Aug 18, 2016 3:39pm

Set the selection mode to single: <vaadin-grid selection-mode="single">

Marcus Hellberg
5 years ago Aug 18, 2016 3:40pm
Burke Ingraffia
5 years ago Aug 18, 2016 3:42pm
Marcus Hellberg
5 years ago Aug 18, 2016 3:45pm
Burke Ingraffia
5 years ago Aug 18, 2016 3:51pm