T - the type of items in gridpublic interface GridSingleSelectionModel<T> extends GridSelectionModel<T>, com.vaadin.flow.data.selection.SelectionModel.Single<Grid<T>,T>
com.vaadin.flow.data.selection.SelectionModel.Multi<C extends com.vaadin.flow.component.Component,T>, com.vaadin.flow.data.selection.SelectionModel.Single<C extends com.vaadin.flow.component.Component,T>| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
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.data.selection.SingleSelect<Grid<T>,T> |
asSingleSelect()
Gets a wrapper to use this single selection model as a single select in
Binder. |
deselectFromClient, selectFromClientcom.vaadin.flow.data.selection.SingleSelect<Grid<T>,T> asSingleSelect()
Binder.com.vaadin.flow.shared.Registration addSingleSelectionListener(com.vaadin.flow.data.selection.SingleSelectionListener<Grid<T>,T> listener)
listener - the single selection listener, not nullCopyright © 2025. All rights reserved.