Type Alias: CellComponentProps<Cell>
CellComponentProps<
Cell> =object
Defined in: src/types.ts:72
Type of Spreadsheet Cell component props
Type Parameters
Cell
Cell extends CellBase = CellBase
Properties
activate()
activate: (
point) =>void
Defined in: src/types.ts:96
Activate the cell at the given point
Parameters
point
Returns
void
active
active:
boolean
Defined in: src/types.ts:82
Whether the cell is active
column
column:
number
Defined in: src/types.ts:76
The column of the cell
copied
copied:
boolean
Defined in: src/types.ts:84
Whether the cell is copied
data
data:
Cell|undefined
Defined in: src/types.ts:90
The data of the cell
DataViewer
DataViewer:
DataViewerComponent<Cell>
Defined in: src/types.ts:78
The DataViewer component to be used by the cell
dragging
dragging:
boolean
Defined in: src/types.ts:86
Whether the user is dragging
evaluatedData
evaluatedData:
Cell|undefined
Defined in: src/types.ts:92
The evaluated data of the cell
mode
mode:
Mode
Defined in: src/types.ts:88
The mode of the cell
row
row:
number
Defined in: src/types.ts:74
The row of the cell
select()
select: (
point) =>void
Defined in: src/types.ts:94
Select the cell at the given point
Parameters
point
Returns
void
selected
selected:
boolean
Defined in: src/types.ts:80
Whether the cell is selected
setCellData()
setCellData: (
cell) =>void
Defined in: src/types.ts:100
Set data of the cell
Parameters
cell
Cell
Returns
void
setCellDimensions()
setCellDimensions: (
point,dimensions) =>void
Defined in: src/types.ts:98
Set the dimensions of the cell at the given point with the given dimensions
Parameters
point
dimensions
Returns
void