Configures the sheet behavior for the spreadsheet.
string
Specifies active cell within selectedRange
in the sheet.
Defaults to ‘A1’
number
Defines the number of columns to be rendered in the sheet.
Defaults to 100
Configures column and its properties for the sheet.
Defaults to null
Specifies the conditional formatting for the sheet.
Defaults to []
number
Gets or sets the number of frozen columns.
Defaults to 0
number
Gets or sets the number of frozen rows.
Defaults to 0
number
Specifies index of the sheet. Based on the index, sheet properties are applied.
Defaults to 0
boolean
Specifies to protect the cells in the sheet.
Defaults to false
string
Specifies the name of the sheet, the name will show in the sheet tabs.
Defaults to ”
string
Represents the freeze pane top left cell. Its default value would be based on the number of freeze rows and columns.
Defaults to ‘A1’
string
Specifies the password.
Defaults to ”
Configures protect and its options.
Defaults to { selectCells: false, formatCells: false, formatRows: false, formatColumns: false, insertLink: false }
Specifies the collection of range for the sheet.
Defaults to []
number
Defines the number of rows to be rendered in the sheet.
Defaults to 100
Configures row and its properties for the sheet.
Defaults to null
string
Specifies selected range in the sheet.
<div id='Spreadsheet'></div>
let spreadsheet: Spreadsheet = new Spreadsheet({
sheets: [{
selectedRange: 'A1:B5'
}],
...
});
spreadsheet.appendTo('#Spreadsheet');
Defaults to ‘A1:A1’
boolean
Specifies to show / hide grid lines in the sheet.
Defaults to true
boolean
Specifies to show / hide column and row headers in the sheet.
Defaults to true
number
Represents the standard height of the sheet.
Defaults to null
Specifies the sheet visibility state. There must be at least one visible sheet in Spreadsheet.
Defaults to ‘Visible’
string
Specified cell will be positioned at the upper-left corner of the sheet.
Defaults to ‘A1’
Defines the used range of the sheet.
Defaults to { rowIndex: 0, colIndex: 0 }