There are many references through out the v8 docs about the visibility of the select all checkbox but I cannot find a way to hide it or prevent select all from occuring.
Is there a way and if so how?
Hi Paul,
you can hide “select-all” checkbox by adding this style rule to your theme file:
.v-grid-select-all-checkbox {
display: none;
}
Hopefully it helps,
Best regards,
Anastasia
Hi Anastasia,
Sure does, thanks very much.
Regards
Paul
you can hide “select-all” checkbox by adding this style rule to your theme file:
.v-grid-select-all-checkbox { display: none; }
Visually the checkbox is removed, but the hidden checkbox remains and you can click it.
You need to hide the checkbox like [this]
(https://github.com/vaadin/framework/issues/7621#issuecomment-374560824)
grid.asMultiSelect().setSelectAllCheckBoxVisibility(MultiSelectionModel.SelectAllCheckBoxVisibility.HIDDEN);