@jsfkit/types
    Preparing search index...

    Type Alias WorksheetView

    A worksheet view.

    A worksheet view is a display configuration for a particular worksheet. Worksheet view settings can include:

    • Active cell
    • Selected ranges
    • View type (normal, page layout, or page break layout)
    • Zoom level

    Currently JSF does not include all available settings for a worksheet.

    type WorksheetView = {
        activeCell?: CellId;
        activeLayout?: "normal" | "pageLayout" | "pageBreakPreview";
        activeRanges?: CellRange[];
        layoutScales?: WorksheetLayoutScales;
        workbookView: integer;
    }
    Index

    Properties

    activeCell?: CellId

    Cell that is selected by default when the sheet is visible.

    activeLayout?: "normal" | "pageLayout" | "pageBreakPreview"

    The layout used to display the worksheet.

    "normal"
    
    activeRanges?: CellRange[]

    Ranges of cells that are selected by default when the sheet is visible.

    layoutScales?: WorksheetLayoutScales

    Scale (aka zoom level, aka magnification) applied when displaying a worksheet. Each different layout has its own scale.

    workbookView: integer

    The id of the workbook view this worksheet view belongs to.

    This is a zero-based index of the workbook view, as stored in the Workbook.views array.

    Within a single worksheet, each view must reference a distinct workbook view (i.e. no two views in the same worksheet can share the same workbookView id). However, views from different worksheets may reference the same workbook view.