| Modifier and Type | Method and Description |
|---|---|
protected Grid<T> |
Grid.AbstractGridExtension.getGrid()
Gets the Grid this extension extends.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
GridMultiSelectionModel.asMultiSelect()
Gets a wrapper to use this multiselection model as a multiselect in
Binder. |
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
Grid.asMultiSelect()
Use this grid as a multiselect in
Binder. |
com.vaadin.flow.data.selection.MultiSelect<Grid<T>,T> |
AbstractGridMultiSelectionModel.asMultiSelect() |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
GridSingleSelectionModel.asSingleSelect()
Gets a wrapper to use this single selection model as a single select in
Binder. |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
Grid.asSingleSelect()
Use this grid as a single select in
Binder. |
com.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> |
AbstractGridSingleSelectionModel.asSingleSelect() |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
GridMultiSelectionModel.addMultiSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
com.vaadin.flow.shared.Registration |
AbstractGridMultiSelectionModel.addMultiSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
GridNoneSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
Grid.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener)
Adds a selection listener to the current selection model.
|
com.vaadin.flow.shared.Registration |
AbstractGridSingleSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
AbstractGridMultiSelectionModel.addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
GridSingleSelectionModel.addSingleSelectionListener(com.vaadin.flow.data.selection.SingleSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
com.vaadin.flow.shared.Registration |
AbstractGridSingleSelectionModel.addSingleSelectionListener(com.vaadin.flow.data.selection.SingleSelectionListener<Grid<T>,T> listener) |
com.vaadin.flow.shared.Registration |
Grid.addSortListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.data.event.SortEvent<Grid<T>,GridSortOrder<T>>> listener) |
protected abstract void |
AbstractGridSingleSelectionModel.fireSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.
|
protected abstract void |
AbstractGridMultiSelectionModel.fireSelectionEvent(com.vaadin.flow.data.selection.SelectionEvent<Grid<T>,T> event)
Method for handling the firing of selection events.
|
| Constructor and 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,
com.vaadin.flow.data.renderer.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 parameter
internalColumnId |
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 parameter
internalColumnId. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
GridContextMenu.GridContextMenuItemClickEvent.getGrid()
Gets the Grid that the context menu is connected to.
|
| Constructor and Description |
|---|
GridContextMenu(Grid<T> target)
Creates an empty context menu with the given target component.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Grid<T> |
EditorImpl.getGrid() |
Grid<T> |
EditorEvent.getGrid()
Gets the editors' grid.
|
Grid<T> |
Editor.getGrid()
Gets the Grid instance which this editor belongs to.
|
| Constructor and Description |
|---|
EditorImpl(Grid<T> grid,
com.vaadin.flow.data.binder.PropertySet<T> propertySet) |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeGrid<T>
A grid component for displaying hierarchical tabular data.
|
Copyright © 2025. All rights reserved.