@jsfkit/types
    Preparing search index...

    Type Alias Worksheet

    A rectangle of cells. A sheet within a spreadsheet.

    type Worksheet = {
        cells: Record<CellId, Cell>;
        columns?: GridSize[];
        defaults?: WorksheetDefaults;
        hidden?: 0 | 1 | 2;
        merges?: string[];
        name: string;
        rows?: GridSize[];
        showGridLines?: boolean;
        views?: WorksheetView[];
    }
    Index

    Properties

    cells: Record<CellId, Cell>

    The cells belonging to the worksheet that have some data attached.

    columns?: GridSize[]

    Widths and styles of the columns in the worksheet.

    A collection of default properties that apply to cells, rows, or columns in the worksheet.

    hidden?: 0 | 1 | 2

    Whether or not the sheet should be shown to a user in a UI displaying the workbook.

    • 0 = sheet is visible
    • 1 = sheet is hidden
    • 2 = sheet is "very hidden"
    merges?: string[]

    Ranges that capture which cells have been merged.

    name: string

    Name of the worksheet.

    rows?: GridSize[]

    Heights and styles of the rows in the worksheet.

    showGridLines?: boolean

    Indicates whether a hairline-grid should be drawn when displaying the sheet.

    views?: WorksheetView[]

    The different display configurations saved for the worksheet.