Skip to main content

Type Alias: CellBase<Value>

CellBase<Value> = object

Defined in: src/types.ts:11

The base type of cell data in Spreadsheet

Type Parameters

Value

Value = any

Properties

className?

optional className: string

Defined in: src/types.ts:15

Class to be given for the cell element


DataEditor?

optional DataEditor: DataEditorComponent<CellBase<Value>>

Defined in: src/types.ts:19

Custom component to render when the cell is edited, if not defined would default to the component defined for the Spreadsheet


DataViewer?

optional DataViewer: DataViewerComponent<CellBase<Value>>

Defined in: src/types.ts:21

Custom component to render when the cell is viewed, if not defined would default to the component defined for the Spreadsheet


readOnly?

optional readOnly: boolean

Defined in: src/types.ts:13

Whether the cell should not be editable


value

value: Value

Defined in: src/types.ts:17

The value of the cell