com.vaadin.flow.component.grid.

Class ColumnResizeEvent<T>

    • Constructor Detail

      • ColumnResizeEvent

        public ColumnResizeEvent(Grid<T> source,
                                 boolean fromClient,
                                 @EventData(value="event.detail.resizedColumnKey")
                                 String resizedColumnKey)

        Creates a new column resize event.

        Parameters:

        source - the component that fired the event

        fromClient - true if the event was originally fired on the client, false if the event originates from server-side logic

        resizedColumnKey - internal id of the column that was the target of user's resize action

    • Method Detail

      • getResizedColumn

        public Grid.Column<T> getResizedColumn()

        Returns the column that was the target of user's resize action

        Returns:

        resize action target column