You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.grid.

Interface GridSingleSelectionModel<T>

    • Method Detail

      • asSingleSelect

        SingleSelect<Grid<T>,​T> asSingleSelect()

        Gets a wrapper to use this single selection model as a single select in Binder.

        Returns:

        the single select wrapper

      • addSingleSelectionListener

        Registration 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.

        Parameters:

        listener - the single selection listener, not null

        Returns:

        a registration for the listener