public static enum MultiSelectionModel.SelectAllCheckBoxVisibility extends Enum<MultiSelectionModel.SelectAllCheckBoxVisibility>
Default value is DEFAULT, which means that the select all is
only visible if an in-memory data provider is used
DataProvider.isInMemory().
| Enum Constant and Description |
|---|
DEFAULT
By default select all checkbox depends on the grid's dataprovider.
|
HIDDEN
Never shows the select all checkbox, regardless of data provider
used.
|
VISIBLE
Shows the select all checkbox, regardless of data provider used.
|
| Modifier and Type | Method and Description |
|---|---|
static MultiSelectionModel.SelectAllCheckBoxVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiSelectionModel.SelectAllCheckBoxVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiSelectionModel.SelectAllCheckBoxVisibility VISIBLE
For a lazy data provider, selecting all will result in to all rows being fetched from backend to application memory!
public static final MultiSelectionModel.SelectAllCheckBoxVisibility HIDDEN
public static final MultiSelectionModel.SelectAllCheckBoxVisibility DEFAULT
DataProvider.isInMemory()}.public static MultiSelectionModel.SelectAllCheckBoxVisibility[] values()
for (MultiSelectionModel.SelectAllCheckBoxVisibility c : MultiSelectionModel.SelectAllCheckBoxVisibility.values()) System.out.println(c);
public static MultiSelectionModel.SelectAllCheckBoxVisibility valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 Vaadin Ltd. All rights reserved.