T - Type of item in the grid.public class RestrictedModeGrid<T>
extends com.vaadin.flow.component.grid.Grid<T>
Grid.setSelectionMode(SelectionMode)
to anything else than SelectionMode#NONE or the value defined during construction will result in
throwing an IllegalArgumentException.com.vaadin.flow.component.grid.Grid.AbstractGridExtension<T>, com.vaadin.flow.component.grid.Grid.Column<T>, com.vaadin.flow.component.grid.Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.ArrayUpdater>, com.vaadin.flow.component.grid.Grid.NestedNullBehavior, com.vaadin.flow.component.grid.Grid.SelectionMode, com.vaadin.flow.component.grid.Grid.UpdateQueue| Constructor and Description |
|---|
RestrictedModeGrid() |
RestrictedModeGrid(Class<T> beanType,
boolean autoCreateColumns) |
RestrictedModeGrid(Class<T> beanType,
boolean autoCreateColumns,
com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode) |
RestrictedModeGrid(Class<T> beanType,
com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode) |
RestrictedModeGrid(com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode) |
RestrictedModeGrid(int pageSize,
com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode) |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.component.grid.Grid.SelectionMode |
getAllowedSelectionMode()
Gets the current allowed selection mode, defined at construction time.
|
com.vaadin.flow.component.grid.GridSelectionModel<T> |
setSelectionMode(com.vaadin.flow.component.grid.Grid.SelectionMode selectionMode) |
addCellFocusListener, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumnReorderListener, addColumnResizeListener, addColumns, addComponentColumn, addContextMenu, addDataGenerator, addDragEndListener, addDragStartListener, addDropListener, addFirstHeaderRow, addItemClickListener, addItemDoubleClickListener, addSelectionListener, addSortListener, addThemeVariants, addValueProvider, appendFooterRow, appendHeaderRow, asMultiSelect, asSingleSelect, compareMaybeComparables, createColumn, createColumnId, createDefaultArrayUpdater, createEditor, createSortingComparator, deselect, deselectAll, getArrayUpdater, getBeanType, getClassNameGenerator, getColumnByKey, getColumnLayers, getColumns, getDataCommunicator, getDataProvider, getDefaultColumnFactory, getDefaultHeaderRow, getDragFilter, getDropFilter, getDropMode, getEditor, getFooterRows, getHeaderRows, getNestedNullBehavior, getPageSize, getPropertySet, getSelectedItems, getSelectionModel, getSortOrder, getUniqueKeyProperty, getUniqueKeyProvider, initConnector, insertColumnLayer, isAllRowsVisible, isColumnReorderingAllowed, isDetailsVisible, isDetailsVisibleOnClick, isHeightByRows, isMultiSort, isRowsDraggable, isVerticalScrollingEnabled, onAttach, onDataProviderChange, onDetach, onEnabledStateChanged, prependFooterRow, prependHeaderRow, recalculateColumnWidths, removeAllColumns, removeColumn, removeColumnByKey, removeColumnLayer, removeColumns, removeDataGenerator, removeThemeVariants, scrollToEnd, scrollToIndex, scrollToStart, select, setAllRowsVisible, setClassNameGenerator, setColumnKey, setColumnOrder, setColumnOrder, setColumnReorderingAllowed, setColumns, setDataProvider, setDetailsVisible, setDetailsVisibleOnClick, setDragDataGenerator, setDragFilter, setDropFilter, setDropMode, setHeightByRows, setItemDetailsRenderer, setMultiSort, setNestedNullBehavior, setPageSize, setRowsDraggable, setSelectionDragDetails, setSelectionModel, setSortableColumns, setUniqueKeyProperty, setUniqueKeyProvider, setVerticalScrollingEnabled, sort, updateSelectionModeOnClientaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNamegetCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFulladdFocusShortcut, blur, focus, getTabIndex, setTabIndexpublic RestrictedModeGrid()
public RestrictedModeGrid(com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode)
public RestrictedModeGrid(int pageSize,
com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode)
public RestrictedModeGrid(Class<T> beanType, boolean autoCreateColumns, com.vaadin.flow.component.grid.Grid.SelectionMode allowedSelectionMode)
public final com.vaadin.flow.component.grid.Grid.SelectionMode getAllowedSelectionMode()
SelectionMode#NONE are allowed by Grid.setSelectionMode(SelectionMode).Copyright © 2024 Miki. All rights reserved.