Skip to content

API reference / Common / GridCellValuePlain

Type Alias: GridCellValuePlain ​

ts
type GridCellValuePlain = 
  | number
  | string
  | boolean
  | {
  error: string;
}
  | null;

A cell's value as a plain value — [GridCellValue] untagged, as a host reads it: a number (a date its serial, as Excel's Value2 gives it), a string (rich text as its text), a logical, an error code, or nothing.

Untagged only crosses out, which the wasm boundary allows of a type no host sends back.