When you create a Grid component in Vaadin v21 and switch to multiselect mode, there is a "select all" checkbox on top. How can one disable that? There seem to be different default behaviours of the Grid and hence different solutions among Vaadin versions.
Grid<Person> grid = new Grid<>(Person.class, false);
grid.setSelectionMode(Grid.SelectionMode.MULTI);
grid.setItems(personRepository.findAll());