com.vaadin.ui.components.grid.

Interface GridSelectionModel<T>

    • Method Detail

      • remove

        void remove()

        Removes this selection model from the grid.

        Must call super Extension.remove() to detach the extension, and fire an selection change event for the selection model (with an empty selection).

        Specified by:

        remove in interface Extension

      • setUserSelectionAllowed

        void setUserSelectionAllowed​(boolean allowed)

        Sets whether the user is allowed to change the selection.

        The check is done only for the client side actions. It doesn't affect selection requests sent from the server side.

        Parameters:

        allowed - true if the user is allowed to change the selection, false otherwise

      • isUserSelectionAllowed

        boolean isUserSelectionAllowed()

        Checks if the user is allowed to change the selection.

        The check is done only for the client side actions. It doesn't affect selection requests sent from the server side.

        Returns:

        true if the user is allowed to change the selection, false otherwise