WorkSheet
On this page
Worksheet object with column, row, merge, protection, and filter metadata
interface WorkSheet extends Sheet
Properties
| Name | Type | Required | Description |
|---|---|---|---|
!data | DenseSheetData | No | Dense cell storage: 2D array indexed by [row][col] |
!type | "sheet" | "chart" | No | Sheet type: "sheet" for worksheets, "chart" for chart sheets |
!ref | string | No | Used range reference (e.g. "A1:D10") |
!margins | MarginInfo | No | Page margin settings |
!cols | ColInfo[] | No | Column properties array (index corresponds to column index) |
!rows | RowInfo[] | No | Row properties array (index corresponds to row index) |
!merges | Range[] | No | Array of merged cell ranges |
!views | SheetView[] | No | Sheet view definitions such as frozen panes |
!protect | ProtectInfo | No | Sheet protection settings |
!autofilter | AutoFilterInfo | No | AutoFilter definition |
Index signatures
Sparse cell storage: cells keyed by A1-style references
[cell: string]: any;