API / interfaces / sheet
Interface: Sheet
Base sheet object supporting both sparse and dense storage modes.
In sparse mode, cells are stored as properties keyed by A1 references (e.g. sheet["A1"]). In dense mode, cells are stored in the "!data" 2D array.
Hierarchy
Extended by:
WorkSheet
Properties
!data
optional
!data: DenseSheetDataDense cell storage: 2D array indexed by [row][col]
!type
optional
!type: "sheet" | "chart"Sheet type: "sheet" for worksheets, "chart" for chart sheets
!ref
optional
!ref: stringUsed range reference (e.g. "A1
")!margins
optional
!margins: MarginInfoPage margin settings
Source
src/types.ts