com.vaadin.ui.components.grid.

Class Header

    • Constructor Detail

      • Header

        public Header()
    • Method Detail

      • removeRow

        public void removeRow​(int index)

        Description copied from class: StaticSection

        Removes the row at the given index.

        Overrides:

        removeRow in class StaticSection<Header.Row>

        Parameters:

        index - the index of the row to remove

      • getDefaultRow

        public Header.Row getDefaultRow()

        Returns the default row of this header. The default row displays column captions and sort indicators.

        Returns:

        the default row, or null if there is no default row

      • setDefaultRow

        public void setDefaultRow​(Header.Row defaultRow)

        Sets the default row of this header. The default row displays column captions and sort indicators.

        Parameters:

        defaultRow - the new default row, or null for no default row

        Throws:

        IllegalArgumentException - if the header does not contain the row