Skip to content

API reference / Common / Engine types / GridCellContent

Type Alias: GridCellContent ​

ts
type GridCellContent = 
  | {
  value: GridCellValue;
}
  | {
  formula: {
     formula: GridCellFormula;
     cachedValue: GridCellValue;
  };
}
  | {
  arrayResult: {
     master: GridCellRef;
     cachedValue: GridCellValue;
  };
};

What a cell holds: a constant, a formula, or an array formula's result, only one.