Interface SheetCellRendererProps

interface SheetCellRendererProps {
    bodyStyle?: GridSurfaceStyle;
    bounds: Bounds;
    docTheme?: IDocTheme;
    onLinkMouseDown?: ((e) => void);
    overflowedCell?: OverflowedCell;
    range?: CellRangeCoords;
    showFormulas?: boolean;
    showZeros?: boolean;
    value: ICellModel;
    view?: GridOverlayView;
    zoom?: number;
}

Hierarchy (view full)

Properties

bodyStyle?: GridSurfaceStyle

Generalize application theming. The docTheme is a specific theme for the sheet.

bounds: Bounds

The range bounds relative to the current viewport and zoom

docTheme?: IDocTheme

Ability to query the theme colors. Note - There are also css variables that can be used to style using doc theme colors

onLinkMouseDown?: ((e) => void)

Type declaration

    • (e): void
    • Parameters

      • e: MouseEvent<HTMLDivElement, MouseEvent>

      Returns void

overflowedCell?: OverflowedCell

Rendering defaults about cells that have overflow characteristics.

The CellRangeCoords that is being rendering

showFormulas?: boolean

If true, prefer to show the formulas over values

showZeros?: boolean

If true, show zero values

value: ICellModel

A value to render

The view that is rendering a collection of cells

zoom?: number

If there is a zoom scale.

Default Value

1