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

    Interface SlicerCacheData

    A slicer cache, xl/slicerCaches/slicerCache{n}.xml: the items a slicer filters by.

    interface SlicerCacheData {
        crossFilter?: string | null;
        items: SlicerItem[];
        name: string;
        pivotCacheId?: number | null;
        pivotTables?: SlicerPivotTable[];
        sortOrder?: SortOrder | null;
        sourceName?: string;
    }
    Index
    crossFilter?: string | null

    How items without data are treated (crossFilter), e.g. 'showItemsWithDataAtTop'. Read from an Excel (x14) file only; the writer does not emit it.

    items: SlicerItem[]
    name: string
    pivotCacheId?: number | null

    pivotCacheId of the pivot cache the slicer filters. Read from an Excel (x14) file only; the writer does not emit it.

    pivotTables?: SlicerPivotTable[]

    Pivot tables the slicer cache is connected to. Read from an Excel (x14) file only; the writer does not emit it.

    sortOrder?: SortOrder | null

    Sort order of the slicer items. Read from an Excel (x14) file only; the writer does not emit it.

    sourceName?: string