Interface for a class Cell
Specifies the chart of the cell.
number
Specifies the column-wise cell merge count.
string
Specifies the number format code to display value in specified number format.
string
Defines the formula or expression of the cell.
string
| HyperlinkModel
Specifies the hyperlink of the cell.
Specifies the image of the cell.
number
Specifies the index of the cell.
boolean
Specifies the cell is locked or not, for allow edit range in spreadsheet protect option.
number
Specifies the row-wise cell merge count.
Specifies the cell style options.
<div id='Spreadsheet'></div>
let spreadsheet: Spreadsheet = new Spreadsheet({
sheets: [{
...
rows: [{
cells: [{ value: '12', index: 2, style: { fontWeight: 'bold', fontSize: 12, fontStyle: 'italic', textIndent: '2pt'
backgroundColor: '#4b5366', color: '#ffffff' } }]
}]
}]
});
spreadsheet.appendTo('#Spreadsheet');
Specifies the validation of the cell.
string
Defines the value of the cell which can be text or number.
boolean
Wraps the cell text to the next line, if the text width exceeds the column width.