Class which exposes the display options which can only be controlled through the worksheet.

WorksheetDisplayOptions

new WorksheetDisplayOptions(a: Worksheet, b: boolean): WorksheetDisplayOptions

Returns WorksheetDisplayOptions

Inherited from: DisplayOptions

Gets the settings which control the frozen panes in the worksheet.

get frozenPaneSettings(): FrozenPaneSettings

Returns FrozenPaneSettings

Inherited from: DisplayOptions

Gets or sets the color of the gridlines on the worksheet.

get gridlineColor(): any

Returns any

set gridlineColor(a: any): void

Parameters

  • a: any

Returns void

Gets or sets the magnification level of the worksheet when it is displayed in normal view.

get magnificationInNormalView(): number

Returns number

set magnificationInNormalView(a: number): void

Parameters

  • a: number

Returns void

Gets or sets the magnification level of the worksheet when it is displayed in the page break preview.

get magnificationInPageBreakView(): number

Returns number

set magnificationInPageBreakView(a: number): void

Parameters

  • a: number

Returns void

Gets or sets the magnification level of the worksheet when it is displayed in page layout view.

get magnificationInPageLayoutView(): number

Returns number

set magnificationInPageLayoutView(a: number): void

Parameters

  • a: number

Returns void

Gets or sets the value indicating whether the columns are ordered right to left.

get orderColumnsRightToLeft(): boolean

Returns boolean

set orderColumnsRightToLeft(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates if the panes in the worksheet are frozen.

get panesAreFrozen(): boolean

Returns boolean

set panesAreFrozen(a: boolean): void

Parameters

  • a: boolean

Returns void

showExpansionIndicatorBelowGroupedRows

Section titled "showExpansionIndicatorBelowGroupedRows"

Inherited from: DisplayOptions

Gets or sets the value which indicates whether the expansion indicators should be shown below grouped, or indented rows.

get showExpansionIndicatorBelowGroupedRows(): boolean | null

Returns boolean | null

set showExpansionIndicatorBelowGroupedRows(a: boolean | null): void

Parameters

  • a: boolean | null

Returns void

showExpansionIndicatorToRightOfGroupedColumns

Section titled "showExpansionIndicatorToRightOfGroupedColumns"

Inherited from: DisplayOptions

Gets or sets the value which indicates whether the expansion indicators should be shown to the right of grouped, or indented rows.

get showExpansionIndicatorToRightOfGroupedColumns(): boolean | null

Returns boolean | null

set showExpansionIndicatorToRightOfGroupedColumns(a: boolean | null): void

Parameters

  • a: boolean | null

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether formulas are shown in cells.

get showFormulasInCells(): boolean

Returns boolean

set showFormulasInCells(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether gridlines are shown between cells. The value which indicates whether gridlines are shown between cells.

get showGridlines(): boolean

Returns boolean

set showGridlines(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether outline symbols are shown for outlined columns and rows.

get showOutlineSymbols(): boolean

Returns boolean

set showOutlineSymbols(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether to display row and column headers.

get showRowAndColumnHeaders(): boolean

Returns boolean

set showRowAndColumnHeaders(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether to show rulers in the page layout view.

get showRulerInPageLayoutView(): boolean

Returns boolean

set showRulerInPageLayoutView(a: boolean): void

Parameters

  • a: boolean

Returns void

Gets or sets the value which indicates whether to show whitespace between worksheet pages in page layout view.

get showWhitespaceInPageLayoutView(): boolean

Returns boolean

set showWhitespaceInPageLayoutView(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: DisplayOptions

Gets or sets the value which indicates whether zero values are shown in cells.

get showZeroValues(): boolean

Returns boolean

set showZeroValues(a: boolean): void

Parameters

  • a: boolean

Returns void

Gets or sets the [[WorkbookColorInfo]] to use for the associated worksheet's tab in the tab bar of Microsoft Excel.

get tabColorInfo(): WorkbookColorInfo

Returns WorkbookColorInfo

set tabColorInfo(a: WorkbookColorInfo): void

Parameters

Returns void

Inherited from: DisplayOptions

Gets the settings which control the unfrozen panes in the worksheet.

get unfrozenPaneSettings(): UnfrozenPaneSettings

Returns UnfrozenPaneSettings

Inherited from: DisplayOptions

Gets or sets the current view of the worksheet.

get view(): WorksheetView

Returns WorksheetView

set view(a: WorksheetView): void

Parameters

Returns void

Inherited from: DisplayOptions

Gets or sets the visibility of the sheet.

get visibility(): WorksheetVisibility

Returns WorksheetVisibility

set visibility(a: WorksheetVisibility): void

Parameters

Returns void

Inherited from: DisplayOptions

Removes any saved selection information.

clearSelection(): void

Returns void

Inherited from: DisplayOptions

Resets the display options to their default settings.

reset(): void

Returns void