Interface HeaderRendererCellProps

interface HeaderRendererCellProps {
    bounds: Bounds;
    direction: HeaderDirection;
    headerStyle: GridHeaderStyle;
    headerStyleHover?: GridHeaderStyle;
    headerStyleSelect: GridHeaderStyle;
    headerStyleSelectAll: GridHeaderStyle;
    headerText?: ((index) => string);
    horizontalPadding?: number;
    index: number;
    isSelected?: ((index) => boolean);
    isSelectedAll?: ((index) => boolean);
    range?: CellRangeCoords;
    value: any;
    verticalPadding?: number;
    view?: GridOverlayView;
    zoom?: number;
    zoomScale?: number;
}

Hierarchy (view full)

Properties

bounds: Bounds

The range bounds relative to the current viewport and zoom

direction: HeaderDirection
headerStyle: GridHeaderStyle
headerStyleHover?: GridHeaderStyle
headerStyleSelect: GridHeaderStyle
headerStyleSelectAll: GridHeaderStyle
headerText?: ((index) => string)

Type declaration

    • (index): string
    • Parameters

      • index: number

      Returns string

horizontalPadding?: number
index: number
isSelected?: ((index) => boolean)

Type declaration

    • (index): boolean
    • Parameters

      • index: number

      Returns boolean

isSelectedAll?: ((index) => boolean)

Type declaration

    • (index): boolean
    • Parameters

      • index: number

      Returns boolean

The CellRangeCoords that is being rendering

value: any

A value to render

verticalPadding?: number

The view that is rendering a collection of cells

zoom?: number

If there is a zoom scale.

Default Value

1
zoomScale?: number

This is not the default grid zoom this is just for rendering.

Default Value

100