-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Problem: with the extensions the checkboxes is not visible. So we can't select all
My code: (mGrid = Vaadin 8.4.0 Grid)
public B withMultiSelect() {
TableSelectionModel<T> multiSelect = new TableSelectionModel<>();
multiSelect.setMode(TableSelectionState.TableSelectionMode.SHIFT);
multiSelect.setUserSelectionAllowed(true);
multiSelect.setSelectAllCheckBoxVisibility(SelectAllCheckBoxVisibility.VISIBLE);
mGrid.setSelectionModel(multiSelect);
mIsMultiGrid = true;
return (B) this;
}