Cell
type Cell = { f?: string | null; F?: string | null; href?: string; id: string; M?: string | null; s?: number; v: CellValue;};Represents a cell in a worksheet.
- The
idproperty is a string identifier for the cell, typically in A1 notation (e.g., “A1”, “B2”). - The
vproperty holds the value of the cell, which can be string, number, boolean, null, or a formula error. - The optional
fproperty contains the formula associated with the cell, if any. - The optional
Fproperty can hold additional formula-related information, such as an array formula range. - The optional
hrefproperty is used to store a hyperlink associated with the cell. - The optional
Mproperty indicates if the cell is part of a merged range and contains the anchor cell’s ID. - The optional
sproperty references the style index applied to the cell.
Properties
Section titled “Properties”| Property | Type |
|---|---|
f? | string | null |
F? | string | null |
href? | string |
id | string |
M? | string | null |
s? | number |
v | CellValue |