Class GridState

    • Field Detail

      • DEFAULT_HEIGHT_BY_ROWS

        public static final double DEFAULT_HEIGHT_BY_ROWS
        The default value for height-by-rows for both GWT widgets com.vaadin.client.widgets.Grid and Escalator.
        See Also:
        Constant Field Values
      • JSONKEY_SELECTED

        public static final String JSONKEY_SELECTED
        The key that tells whether row is selected or not.
        See Also:
        Constant Field Values
      • columnResizeMode

        public ColumnResizeMode columnResizeMode
        Column resize mode in grid.
        Since:
        7.7.5
      • header

        public SectionState header
        The state of the header section.
      • footer

        public SectionState footer
        The state of the footer section.
      • columnOrder

        public List<String> columnOrder
        Column order in grid.
      • frozenColumnCount

        public int frozenColumnCount
        The number of frozen columns.
      • heightByRows

        public double heightByRows
        The height of the Grid in terms of body rows.
      • heightMode

        public HeightMode heightMode
        The mode by which Grid defines its height.
      • sortColumns

        public String[] sortColumns
        Keys of the currently sorted columns.
      • sortDirs

        public SortDirection[] sortDirs
        Directions for each sorted column.
      • hasDescriptions

        public boolean hasDescriptions
        Whether rows and/or cells have generated descriptions (tooltips).
      • columnReorderingAllowed

        public boolean columnReorderingAllowed
        Whether the columns can be reordered.
      • bodyRowHeight

        public double bodyRowHeight
        Explicit body row height in pixels for grid rows, or -1 to calculate automatically based on the theme.
        Since:
        8.2
      • headerRowHeight

        public double headerRowHeight
        Explicit body row height in pixels for grid rows, or -1 to calculate automatically based on the theme.
        Since:
        8.2
      • footerRowHeight

        public double footerRowHeight
        Explicit body row height in pixels for grid rows, or -1 to calculate automatically based on the theme.
        Since:
        8.2
      • rowDescriptionContentMode

        public ContentMode rowDescriptionContentMode
        The content mode for row descriptions.
        Since:
        8.2
      • accessibleNavigation

        public boolean accessibleNavigation
        Whether accessible navigation is enabled for the grid.
        Since:
        8.28
      • layoutAfterScroll

        public boolean layoutAfterScroll
        Whether the grid should run layout logic after scrolling. This is needed when using certain component renderers. Defaults to enabled.
        Since:
        8.32
    • Constructor Detail

      • GridState

        public GridState()