Skip to content
Cellatrix

WorkbookView

A single workbook view, bound to its index in workbook.views. Gives access to per-sheet view state.

Obtain via workbook.views.get(index); do not construct directly.

new WorkbookView(workbook: Workbook, index: number): WorkbookView;
Parameter Type
workbook Workbook
index number

WorkbookView

getFrozenPanes(sheetName: string): WorksheetViewFrozenPanes | null;

Return the frozen panes for a given sheet in this workbook view, if the sheet has them.

Parameter Type Description
sheetName string Name of the sheet whose frozen panes you want

WorksheetViewFrozenPanes | null

A copy of the JSF frozen panes, or null if the sheet has none

If a sheet with the given name doesn’t exist