public class GridState extends TabIndexState
com.vaadin.ui.components.grid.Grid
component.| Modifier and Type | Class and Description |
|---|---|
static class |
GridState.SharedSelectionMode
A description of which of the three bundled SelectionModels is currently
in use.
|
| Modifier and Type | Field and Description |
|---|---|
ContentMode |
cellTooltipContentMode
The content mode used for cell tooltips.
|
List<String> |
columnOrder
Column order in grid.
|
boolean |
columnReorderingAllowed
Whether the columns can be reordered.
|
ColumnResizeMode |
columnResizeMode
Column resize mode in grid.
|
List<GridColumnState> |
columns
Columns in grid.
|
static double |
DEFAULT_HEIGHT_BY_ROWS
The default value for height-by-rows for both GWT widgets
Grid and
Escalator. |
boolean |
editorBuffered
Buffered editor mode.
|
String |
editorCancelCaption
The caption for the cancel button in the editor.
|
boolean |
editorEnabled
The enabled state of the editor interface.
|
String |
editorSaveCaption
The caption for the save button in the editor.
|
GridStaticSectionState |
footer |
int |
frozenColumnCount
The number of frozen columns.
|
boolean |
hasDescriptions
Whether rows and/or cells have generated descriptions (tooltips).
|
GridStaticSectionState |
header |
double |
heightByRows
The height of the Grid in terms of body rows.
|
HeightMode |
heightMode
The mode by which Grid defines its height.
|
static String |
JSONKEY_CELLDESCRIPTION
The key in which a cell's description can be found.
|
static String |
JSONKEY_CELLSTYLES
The key in which a generated styles for a row's cells can be found.
|
static String |
JSONKEY_DATA
The key in which a row's data can be found.
|
static String |
JSONKEY_DETAILS_VISIBLE
The key that tells whether details are visible for the row.
|
static String |
JSONKEY_ROWDESCRIPTION
The key in which a row's description can be found.
|
static String |
JSONKEY_ROWKEY
The key in which a row's own key can be found.
|
static String |
JSONKEY_ROWSTYLE
The key in which a row's generated style can be found.
|
static String |
JSONKEY_SELECTED
The key that tells whether row is selected.
|
ContentMode |
rowTooltipContentMode
The content mode used for row tooltips.
|
String[] |
sortColumns
Keys of the currently sorted columns.
|
SortDirection[] |
sortDirs
Directions for each sorted column.
|
tabIndexcaption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, widthenabled, registeredEventListeners, resources| Constructor and Description |
|---|
GridState() |
public static final double DEFAULT_HEIGHT_BY_ROWS
Grid and
Escalator.public static final String JSONKEY_DATA
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_ROWKEY
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_ROWSTYLE
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_CELLSTYLES
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_ROWDESCRIPTION
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_CELLDESCRIPTION
com.vaadin.shared.data.DataProviderRpc#setRowData(int, String),
Constant Field Valuespublic static final String JSONKEY_DETAILS_VISIBLE
com.vaadin.ui.Grid#setDetailsGenerator(com.vaadin.ui.Grid.DetailsGenerator),
com.vaadin.ui.Grid#setDetailsVisible(Object, boolean),
DataProviderRpc.setRowData(int,
elemental.json.JsonArray),
Constant Field Valuespublic static final String JSONKEY_SELECTED
public ColumnResizeMode columnResizeMode
public List<GridColumnState> columns
public GridStaticSectionState header
public GridStaticSectionState footer
public int frozenColumnCount
public double heightByRows
public HeightMode heightMode
public String[] sortColumns
public SortDirection[] sortDirs
public boolean editorEnabled
public boolean editorBuffered
public boolean hasDescriptions
public String editorSaveCaption
public String editorCancelCaption
public boolean columnReorderingAllowed
public ContentMode cellTooltipContentMode
public ContentMode rowTooltipContentMode
Copyright © 2021 Vaadin Ltd. All rights reserved.