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

Class Grid.AbstractGridExtension<T>

    • Constructor Detail

      • AbstractGridExtension

        public AbstractGridExtension​(Grid<T> grid)

        Constructs a new grid extension, extending the given grid.

        Parameters:

        grid - the grid to extend

    • Method Detail

      • refresh

        protected void refresh​(T item)

        A helper method for refreshing the client-side representation of a single data item.

        Parameters:

        item - the item to refresh

      • extend

        protected void extend​(Grid<T> grid)

        Adds this extension to the given grid.

        Parameters:

        grid - the grid to extend

      • remove

        protected void remove()

        Remove this extension from its target.

      • getGrid

        protected Grid<T> getGrid()

        Gets the Grid this extension extends.

        Returns:

        the grid this extension extends