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