SheetDirective

12 Sep 20252 minutes to read

e-sheet directive represent a sheet of the Angular Spreadsheet.
It must be contained in a Spreadsheet component(ejs-spreadsheet).

<ejs-spreadsheet>
  <e-sheets>
   <e-sheet></e-sheet>
   <e-sheet></e-sheet>
  </e-sheets>
</ejs-spreadsheet>

Properties

activeCell any

Specifies active cell within selectedRange in the sheet.

Defaults to ‘A1’

colCount any

Defines the number of columns to be rendered in the sheet.

Defaults to 100

columns any

Configures column and its properties for the sheet.

Defaults to null

conditionalFormats any

Specifies the conditional formatting for the sheet.

Defaults to []

frozenColumns any

Gets or sets the number of frozen columns.

Defaults to 0

frozenRows any

Gets or sets the number of frozen rows.

Defaults to 0

index any

Specifies index of the sheet. Based on the index, sheet properties are applied.

Defaults to 0

isProtected any

Specifies to protect the cells in the sheet.

Defaults to false

name any

Specifies the name of the sheet, the name will show in the sheet tabs.

Defaults to ’’

paneTopLeftCell any

Represents the freeze pane top left cell. Its default value would be based on the number of freeze rows and columns.

Defaults to ‘A1’

password any

Specifies the password.

Defaults to ’’

protectSettings any

Configures protect and its options.

Defaults to { selectCells: false, formatCells: false, formatRows: false, formatColumns: false, insertLink: false }

ranges any

Specifies the collection of range for the sheet.

Defaults to []

rowCount any

Defines the number of rows to be rendered in the sheet.

Defaults to 100

rows any

Configures row and its properties for the sheet.

Defaults to null

selectedRange any

Specifies selected range in the sheet.

Defaults to ‘A1:A1’

showGridLines any

Specifies to show / hide grid lines in the sheet.

Defaults to true

showHeaders any

Specifies to show / hide column and row headers in the sheet.

Defaults to true

standardHeight any

Represents the standard height of the sheet.

Defaults to null

state any

Specifies the sheet visibility state. There must be at least one visible sheet in Spreadsheet.

Defaults to ‘Visible’

topLeftCell any

Specified cell will be positioned at the upper-left corner of the sheet.

Defaults to ‘A1’

usedRange any

Defines the used range of the sheet.

Defaults to { rowIndex: 0, colIndex: 0 }