The data a SheetEngine computes on: inputs by physical row and column (0-based) – values or formula texts
("=B2*C2"). The table has adapters for its models; SheetEngine.fromArrays uses a 2-D array.
Optional, for sparse data (a sheet with a million empty rows): calls fn for every cell that may hold an input –
rebuild() then reads only these instead of rows × columns.
Parameters
fn: ((row, col, input) => void)
(row, col, input): void
Parameters
row: number
col: number
input: unknown
Returns void
Returns void
getColumnCount
getColumnCount(): number
Returns number
OptionalgetFieldColumn
getFieldColumn(field): number
The column of a data field for [field] in a cell formula, -1 if it is none.
Parameters
field: string
Returns number
getInput
getInput(row, col): unknown
The input of a cell: a value or a formula text with =.
Parameters
row: number
col: number
Returns unknown
getRowCount
getRowCount(): number
Returns number
OptionalisFormulaColumn
isFormulaColumn(col): boolean
False for a column whose =… texts are plain text (ColumnDef.cellFormulas: false). Default: true.
The data a SheetEngine computes on: inputs by physical row and column (0-based) – values or formula texts (
"=B2*C2"). The table has adapters for its models;SheetEngine.fromArraysuses a 2-D array.Example
Since
1.1.99