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

    Interface PivotLocation

    A pivot table's <location>: its range on the sheet and the offsets of its header and data. An unset offset is written with the value Excel gives a table of this shape: firstHeaderRow 1; firstDataRow 2 with column fields, else 1; firstDataCol 1 with row fields, else 0.

    interface PivotLocation {
        firstDataCol?: number;
        firstDataRow?: number;
        firstHeaderRow?: number;
        ref: string;
    }
    Index
    firstDataCol?: number
    firstDataRow?: number
    firstHeaderRow?: number
    ref: string