Skip to content

API reference / Common / GridCellContentPlain

Interface: GridCellContentPlain ​

A cell's content as plain values — what it shows, not how it is stored: no ids, no rich-text runs, no formula bindings, where a GridCellContent holds all three. What a host reads of a cell, by its address.

It only crosses out, so it takes the shape a host reads best.

Properties ​

PropertyDescription
value
GridCellValuePlain
Its value, or its formula's result.
text
string
The value as the cell displays it, through its number format — 1/2/2026, 12.50% — in the format's full form, as no column's width cuts it; empty for an empty cell.
formula
string | null
Its formula as the formula bar shows it, as the workbook now names what it reads — =SUM(Sheet2!A1:A3), {=A1:A4*10} for an array's — or None for a constant or an empty cell.