Uses of Class
com.vaadin.flow.component.grid.Grid
-
-
Uses of Grid in com.vaadin.flow.component.crud
Subclasses of Grid in com.vaadin.flow.component.crud Modifier and Type Class Description class
CrudGrid<E>
A simple grid implementation for Crud that allows searching and sorting backed by a data provider.Methods in com.vaadin.flow.component.crud that return Grid Modifier and Type Method Description Grid<E>
Crud. getGrid()
Gets the gridMethods in com.vaadin.flow.component.crud with parameters of type Grid Modifier and Type Method Description static void
Crud. addEditColumn(Grid grid)
A helper method to add an edit column to a grid.static void
Crud. addEditColumn(Grid grid, CrudI18n crudI18n)
A helper method to add an edit column to a grid.static boolean
Crud. hasEditColumn(Grid grid)
Checks if an edit column has been added to the Grid usingCrud.addEditColumn(Grid)
static void
Crud. removeEditColumn(Grid grid)
Removes the crud edit column from a gridvoid
Crud. setGrid(Grid<E> grid)
Sets the gridConstructors in com.vaadin.flow.component.crud with parameters of type Grid Constructor Description Crud(Class<E> beanType, Grid<E> grid, CrudEditor<E> editor)
Instantiates a new Crud using a custom grid. -
Uses of Grid in com.vaadin.flow.component.grid
Fields in com.vaadin.flow.component.grid declared as Grid Modifier and Type Field Description protected Grid<?>
AbstractColumn. grid
protected Grid<?>
AbstractColumn. grid
Methods in com.vaadin.flow.component.grid that return Grid Modifier and Type Method Description protected Grid<T>
Grid.AbstractGridExtension. getGrid()
Gets the Grid this extension extends.Methods in com.vaadin.flow.component.grid that return types with arguments of type Grid Modifier and Type Method Description MultiSelect<Grid<T>,T>
AbstractGridMultiSelectionModel. asMultiSelect()
MultiSelect<Grid<T>,T>
Grid. asMultiSelect()
Use this grid as a multiselect inBinder
.MultiSelect<Grid<T>,T>
GridMultiSelectionModel. asMultiSelect()
Gets a wrapper to use this multiselection model as a multiselect inBinder
.SingleSelect<Grid<T>,T>
AbstractGridSingleSelectionModel. asSingleSelect()
SingleSelect<Grid<T>,T>
Grid. asSingleSelect()
Use this grid as a single select inBinder
.SingleSelect<Grid<T>,T>
GridSingleSelectionModel. asSingleSelect()
Gets a wrapper to use this single selection model as a single select inBinder
.Methods in com.vaadin.flow.component.grid with parameters of type Grid Modifier and Type Method Description protected abstract <T> GridSelectionModel<T>
Grid.SelectionMode. createModel(Grid<T> grid)
Creates the selection model to use with this enum.protected void
Grid.AbstractGridExtension. extend(Grid<T> grid)
Adds this extension to the given grid.Method parameters in com.vaadin.flow.component.grid with type arguments of type Grid Modifier and Type Method Description Registration
AbstractGridMultiSelectionModel. addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener)
Registration
GridMultiSelectionModel. addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is changed either by the user or programmatically.Registration
AbstractGridMultiSelectionModel. addSelectionListener(SelectionListener<Grid<T>,T> listener)
Registration
AbstractGridSingleSelectionModel. addSelectionListener(SelectionListener<Grid<T>,T> listener)
Registration
Grid. addSelectionListener(SelectionListener<Grid<T>,T> listener)
Adds a selection listener to the current selection model.Registration
GridNoneSelectionModel. addSelectionListener(SelectionListener<Grid<T>,T> listener)
Registration
AbstractGridSingleSelectionModel. addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
Registration
GridSingleSelectionModel. addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is changed either by the user or programmatically.Registration
Grid. addSortListener(ComponentEventListener<SortEvent<Grid<T>,GridSortOrder<T>>> listener)
protected abstract void
AbstractGridMultiSelectionModel. fireSelectionEvent(SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.protected abstract void
AbstractGridSingleSelectionModel. fireSelectionEvent(SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.Constructors in com.vaadin.flow.component.grid with parameters of type Grid Constructor Description AbstractGridExtension(Grid<T> grid)
Constructs a new grid extension, extending the given grid.AbstractGridMultiSelectionModel(Grid<T> grid)
Constructor for passing a reference of the grid to this implementation.AbstractGridSingleSelectionModel(Grid<T> grid)
Constructor for passing a reference of the grid to this implementation.CellFocusEvent(Grid<T> source, boolean fromClient, String itemKey, String internalColumnId, String sectionName)
Creates a new cell focus event.Column(Grid<T> grid, String columnId, Renderer<T> renderer)
Constructs a new Column for use inside a Grid.ColumnReorderEvent(Grid<T> source, boolean fromClient, elemental.json.JsonArray columnIDs)
Creates a new column reorder event.ColumnReorderEvent(Grid<T> source, boolean fromClient, List<Grid.Column<T>> columns)
Creates a new column reorder event.ColumnResizeEvent(Grid<T> source, boolean fromClient, String resizedColumnKey)
Creates a new column resize event.ItemClickEvent(Grid<T> source, boolean fromClient, String itemKey, int screenX, int screenY, int clientX, int clientY, int clickCount, int button, boolean ctrlKey, boolean shiftKey, boolean altKey, boolean metaKey)
Deprecated.Please use the constructor with an extra parameterinternalColumnId
ItemClickEvent(Grid<T> source, boolean fromClient, String itemKey, String internalColumnId, int screenX, int screenY, int clientX, int clientY, int clickCount, int button, boolean ctrlKey, boolean shiftKey, boolean altKey, boolean metaKey)
Creates a new item click event.ItemDoubleClickEvent(Grid<T> source, boolean fromClient, String itemKey, int screenX, int screenY, int clientX, int clientY, int clickCount, int button, boolean ctrlKey, boolean shiftKey, boolean altKey, boolean metaKey)
Deprecated.Please use the constructor with an additional parameterinternalColumnId
.ItemDoubleClickEvent(Grid<T> source, boolean fromClient, String itemKey, String internalColumnId, int screenX, int screenY, int clientX, int clientY, int clickCount, int button, boolean ctrlKey, boolean shiftKey, boolean altKey, boolean metaKey)
Creates a new item double click event. -
Uses of Grid in com.vaadin.flow.component.grid.contextmenu
Methods in com.vaadin.flow.component.grid.contextmenu that return Grid Modifier and Type Method Description Grid<T>
GridContextMenu.GridContextMenuItemClickEvent. getGrid()
Gets the Grid that the context menu is connected to.Constructors in com.vaadin.flow.component.grid.contextmenu with parameters of type Grid Constructor Description GridContextMenu(Grid<T> target)
Creates an empty context menu with the given target component. -
Uses of Grid in com.vaadin.flow.component.grid.dataview
Constructors in com.vaadin.flow.component.grid.dataview with parameters of type Grid Constructor Description GridDataView(DataCommunicator<T> dataCommunicator, Grid<T> grid)
GridLazyDataView(DataCommunicator<T> dataCommunicator, Grid<T> component)
Creates a new lazy data view for grid and verifies the passed data provider is compatible with this data view implementation.GridListDataView(DataCommunicator<T> dataCommunicator, Grid<T> grid, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)
Creates a new instance of Grid in-memory data view and verifies the passed data provider is compatible with this data view implementation. -
Uses of Grid in com.vaadin.flow.component.grid.dnd
Constructors in com.vaadin.flow.component.grid.dnd with parameters of type Grid Constructor Description GridDragEndEvent(Grid<T> source, boolean fromClient)
Creates a grid drag end event.GridDragStartEvent(Grid<T> source, boolean fromClient, elemental.json.JsonObject details)
Creates a grid drag start event.GridDropEvent(Grid<T> source, boolean fromClient, elemental.json.JsonObject item, String dropLocation, elemental.json.JsonArray dragData)
Creates a grid drop event. -
Uses of Grid in com.vaadin.flow.component.grid.editor
Methods in com.vaadin.flow.component.grid.editor that return Grid Modifier and Type Method Description Grid<T>
Editor. getGrid()
Gets the Grid instance which this editor belongs to.Grid<T>
EditorEvent. getGrid()
Gets the editors' grid.Grid<T>
EditorImpl. getGrid()
Constructors in com.vaadin.flow.component.grid.editor with parameters of type Grid Constructor Description EditorImpl(Grid<T> grid, PropertySet<T> propertySet)
-
Uses of Grid in com.vaadin.flow.component.gridpro
Subclasses of Grid in com.vaadin.flow.component.gridpro Modifier and Type Class Description class
GridPro<E>
-
Uses of Grid in com.vaadin.flow.component.treegrid
Subclasses of Grid in com.vaadin.flow.component.treegrid Modifier and Type Class Description class
TreeGrid<T>
Tree Grid is a component for displaying hierarchical tabular data grouped into expandable and collapsible nodes.
-