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.
Grid marks 'Select All' checkbox on empty tables (7.6.0.rc1)
Open a grid with no data on it, the checkbox used to select or unselect all rows is checked, it should not be checked.
Please create a ticket at http://dev.vaadin.com with some way to reproduce the problem. Does not seem to reproduce by doing
Grid grid = new Grid();
grid.addColumn("Hello");
grid.addColumn("World");
grid.setSelectionMode(SelectionMode.MULTI);
addComponent(grid);
I verified the error does not reproduce in the simple scenario above, but as soon as I attach a lazy query container I see the error... I'll do some more testing....
No need to open up a bug, a change in the order of initialization fixed the issue: the fix involves calling grid.setSelectionMode(...) AFTER grid.setCOntainerDataSource, and not before!
Reuben D Sivan: No need to open up a bug, a change in the order of initialization fixed the issue: the fix involves calling grid.setSelectionMode(...) AFTER grid.setCOntainerDataSource, and not before!
Hi!
I faced the same issue but intialization reordering didn't help. Are there any more ways to overcome this issue?
I use vaadin 7.6.8
Thanks!
This should be fixed in https://dev.vaadin.com/ticket/20301 (7.7.4 when released)