SpreadsheetCell extends TableCell
The cell for Spreadsheet
Example
JS
new SpreadsheetCell({
record: { name: 'Corey Seager', position: 'SS', bats: 'L' },
column: new SpreadsheetColumn({ render: record => record.name })
})Constructor
new SpreadsheetCell(options)
options
:
Object
optionalreadonly
:
boolean
optionalmake the cell present, but inactive (won't generate input)
record
:
Object
|
function
optionalInstance of a record or function that returns a record
content
:
string
|
HTMLElement
|
Array
|
Object
optionalcontent to append to element. Passed to Dolla's content