interface GridDimensions {
    bottomContainerHeight: number;
    columnsTotalWidth: number;
    contentSize: ElementSize;
    groupHeaderHeight: number;
    hasScrollX: boolean;
    hasScrollY: boolean;
    headerFilterHeight: number;
    headerHeight: number;
    headersTotalHeight: number;
    isReady: boolean;
    leftPinnedWidth: number;
    minimumSize: ElementSize;
    rightPinnedWidth: number;
    root: ElementSize;
    rowHeight: number;
    rowWidth: number;
    scrollbarSize: number;
    topContainerHeight: number;
    viewportInnerSize: ElementSize;
    viewportOuterSize: ElementSize;
}

Properties

bottomContainerHeight: number

Size of the bottom container.

columnsTotalWidth: number

Size of all the visible columns.

contentSize: ElementSize

The size of the main content (unpinned rows & columns).

groupHeaderHeight: number

Height of one column group header.

hasScrollX: boolean

Indicates if a scroll is currently needed to go from the beginning of the first column to the end of the last column.

hasScrollY: boolean

Indicates if a scroll is currently needed to go from the beginning of the first row to the end of the last row.

headerFilterHeight: number

Height of header filters.

headerHeight: number

Height of one column header.

headersTotalHeight: number

Height of all the column headers.

isReady: boolean

Indicates that the dimensions have been initialized.

leftPinnedWidth: number

Size of left pinned columns.

minimumSize: ElementSize

The minimum size to display the grid, including all pinned sections and headers.

rightPinnedWidth: number

Size of right pinned columns.

The root container size.

rowHeight: number

Height of a row.

rowWidth: number

Width of a row.

scrollbarSize: number

Size of the scrollbar used to scroll the rows in pixel. It is defined even when the scrollbar is currently not needed.

topContainerHeight: number

Size of the top container.

viewportInnerSize: ElementSize

The viewport size not including scrollbars.

viewportOuterSize: ElementSize

The viewport size including scrollbars.