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.

Grid : dealing with default checkbox column

Carlino Delano
7 years ago Aug 24, 2015 8:53am

Hello there,

I'm really, really new to Vaadin, and I'm just starting enjoying its flavor.... I’m dealing with a grid, basic , supposed to provide 3 columns, whose one should display checkboxes, one for each row, to be then wired to a “delete button”, sort of what is taught in Figure 5.56. Multiple Selection in Grid (https://vaadin.com/book/vaadin7/-/page/components.grid.html).
So I’m using :
reportsList = new Grid();
blablabla
reportsList.setSelectionMode(SelectionMode.MULTI);
My question is : is there a way to set the checkbox column another place than the default very left side of the grid, preferably, on the right side, (as 3rd column, counting from left) ; and then implement the delete button in its header ?

Regards,
 

Pekka Hyvönen
7 years ago Aug 24, 2015 9:24am
Carlino Delano
7 years ago Aug 24, 2015 9:40am
jose luis romero
6 years ago Jul 14, 2016 5:44pm
Ramakrishna Gorthi
5 years ago Aug 09, 2017 2:45pm
Teodor Iancu
3 years ago May 15, 2019 4:19pm
Teodor Iancu
3 years ago May 15, 2019 4:22pm