modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface WorksheetData

    The content of a worksheet part, xl/worksheets/sheet{n}.xml, with its tables, charts and comments.

    interface WorksheetData {
        autoFilter: AutoFilterData | null;
        charts?: WorksheetChartData[];
        columns: ColumnInfo[];
        comments?: CommentData[];
        conditionalFormatting?: ConditionalFormattingData[];
        dataValidations?: DataValidationData[];
        dimension: string | null;
        frozenPane: FrozenPane | null;
        headerFooter?: HeaderFooterData | null;
        hyperlinks?: HyperlinkData[];
        mergeCells: string[];
        outlineProperties?: OutlinePropertiesData | null;
        pageBreaks?: PageBreaksData | null;
        pageSetup?: PageSetupData | null;
        paneSelections?: PaneSelectionData[];
        pivotTables?: PivotTableData[];
        preservedExtensions?: string[];
        rows: RowData[];
        sheetProtection?: SheetProtectionData | null;
        sheetView?: SheetViewData | null;
        slicers?: SlicerData[];
        sparklineGroups?: SparklineGroupData[];
        splitPane?: SplitPaneData | null;
        tabColor?: string | null;
        tabColorSpec?: ColorData | null;
        tables?: TableDefinitionData[];
        threadedComments?: ThreadedCommentData[];
        timelines?: TimelineData[];
    }
    Index
    autoFilter: AutoFilterData | null
    columns: ColumnInfo[]
    comments?: CommentData[]
    conditionalFormatting?: ConditionalFormattingData[]
    dataValidations?: DataValidationData[]
    dimension: string | null

    The <dimension ref> read from the file. The writer recomputes the used range from rows.

    frozenPane: FrozenPane | null
    headerFooter?: HeaderFooterData | null
    hyperlinks?: HyperlinkData[]
    mergeCells: string[]
    outlineProperties?: OutlinePropertiesData | null
    pageBreaks?: PageBreaksData | null
    pageSetup?: PageSetupData | null
    paneSelections?: PaneSelectionData[]
    pivotTables?: PivotTableData[]
    preservedExtensions?: string[]

    Every worksheet <extLst><ext> other than the sparkline one, verbatim XML kept for round-trip. Each entry is well-formed on its own and is written inside <extLst> after the sparkline extension.

    rows: RowData[]
    sheetProtection?: SheetProtectionData | null
    sheetView?: SheetViewData | null
    slicers?: SlicerData[]
    sparklineGroups?: SparklineGroupData[]
    splitPane?: SplitPaneData | null
    tabColor?: string | null

    Tab color as hex RGB (RRGGBB) or ARGB (AARRGGBB), with or without a leading #; written as uppercase ARGB and read back in that form; any other non-empty string fails the write with INVALID_WORKBOOK and is reported by validate().

    tabColorSpec?: ColorData | null

    The full tab colour when it has a theme, indexed, tint or auto attribute. Used on write while its rgb equals tabColor; otherwise tabColor is written as plain rgb.

    threadedComments?: ThreadedCommentData[]
    timelines?: TimelineData[]