SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface CacheJSON

    One pivot cache — the snapshot of source data a pivot table summarizes.

    A cache belongs to the workbook rather than to any one sheet because it is shared: several tables can summarize the same source, and the snapshot is the expensive part, so it is held once and referenced from each table by id (IPivotTable.getCacheId).

    JSON only: a cache has no model and nothing public returns one — the table is the modeled side. It is carried so a workbook read with pivot tables can be written back with them; a table whose cache is missing is a file Excel refuses.

    IWorkbook.JSON.pivotCaches, which holds them.

    interface CacheJSON {
        cacheId: number;
        part?: IEmbeddedPart.JSON;
    }
    Index
    cacheId: number

    The id the workbook's pivot tables reference this cache by.

    The part describing the cache: what its source is, its fields, and the records it holds.

    Opaque: held as it was read and written back unchanged, since the cache has no model yet.