SheetXL - v1.0.2
    Preparing search index...

    Interface PivotFieldsProps

    Props for PivotFields.

    interface PivotFieldsProps {
        fields: PivotFieldsState;
        onError?: (error: unknown) => void;
        renderFilter?: ((props: PivotMenuRenderProps) => ReactNode) | null;
        renderMenu?: ((props: PivotChipMenuRenderProps) => ReactNode) | null;
    }

    Hierarchy

    Index

    The table, from usePivotFields.

    onError?: (error: unknown) => void

    A gesture the table refused; it changed nothing.

    renderFilter?: ((props: PivotMenuRenderProps) => ReactNode) | null

    A field's sort and filter, which its chip's Sort and filter… opens: the pivot field menu, as the workbook's renderPivotMenu draws it at a field's button in the table. Absent or null, the menu leaves the entry out.

    renderMenu?: ((props: PivotChipMenuRenderProps) => ReactNode) | null

    The menu a chip's ▾ opens. null for chips with no menu.

    a plain list of the chip's entries