SheetXL - v1.0.2
    Preparing search index...

    Interface PivotLineJSON

    One line of a laid-out pivot table's rows or columns: an item, a subtotal, the grand total, or a blank row, as Excel stores it in rowItems and colItems.

    A line names its items by index into each axis field's PivotFieldJSON.items, from the outermost field in; where the values sit, the index is a data field's. The first repeat of them are the line above's and are left out.

    interface PivotLineJSON {
        dataField?: number;
        items: number[];
        repeat?: number;
        type?: string;
    }
    Index
    dataField?: number

    The data field the line shows, by index into JSON.dataFields; absent, the first.

    items: number[]

    The item indexes after the repeated ones.

    repeat?: number

    How many leading items are the same as the line above's, and so not in items.

    type?: string

    Absent: an item. default (or a subtotal function) for a subtotal, grand, blank.