interface TableCell {
    align?: "center" | "left" | "right";
    bgColor?: string;
    bold?: boolean;
    colSpan?: number;
    fontFamily?: string;
    fontSize?: number;
    italic?: boolean;
    rowSpan?: number;
    text: string;
    textColor?: string;
    tooltip?: string;
    verticalAlign?: "bottom" | "middle" | "top";
}

Properties

align?: "center" | "left" | "right"
bgColor?: string

Cell fill. Transparent when omitted, so the pane shows through.

bold?: boolean
colSpan?: number

Positive safe integer, default 1. The top-left cell supplies a merged cell's content.

fontFamily?: string

CSS font-family list. Defaults to system-ui, sans-serif.

fontSize?: number

Overrides the table's fontSize for this cell, for a heading row.

italic?: boolean
rowSpan?: number

Positive safe integer, default 1. Spans stay inside the existing rectangular grid.

text: string

Explicit newlines form a block with 1.2em line spacing.

textColor?: string

Text colour. Derived from bgColor for contrast when omitted.

tooltip?: string

Plain-text hover detail. Newlines are preserved; a merged cell uses its anchor's tooltip.

verticalAlign?: "bottom" | "middle" | "top"

Aligns the text block within the cell, with 4px edge padding. Defaults to middle.