Skip to content

API reference / Common / Engine types / GridCellValue

Type Alias: GridCellValue ​

ts
type GridCellValue = 
  | "empty"
  | {
  number: number;
}
  | {
  text: string;
}
  | {
  richText: TextStory;
}
  | {
  bool: boolean;
}
  | {
  error: string;
};

A cell's typed value, from @t + <v>/<is>. Dates are not a variant — Excel stores them as a Number with a date number format.