SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface FormatCellPreviewProps

    interface FormatCellPreviewProps {
        height?: number;
        maxWidth?: number;
        selection: FormatSelection;
    }

    Hierarchy

    • HTMLAttributes<HTMLDivElement>
      • FormatCellPreviewProps
    Index
    height?: number

    Height of the preview box.

    Roughly two grid rows — enough for vertical alignment and a tilt to read, without the pane's top third being an empty rectangle.

    maxWidth?: number

    Widest the preview box is drawn, in px. It still shrinks with a narrower pane.

    A cap, not a width: the pane is several cell-widths wide, and a preview stretched across all of it stops reading as a cell — a filled format (accounting's * ) spans the whole span, and the ends land a hand's width apart. This keeps the box near the width the value would actually be shown at.

    selection: FormatSelection