View as Markdown

API reference: @salmonui/pivot-table

PivotAxisBarPropsinterface

import type { PivotAxisBarProps } from '@salmonui/pivot-table';
interface PivotAxisBarProps<Row = unknown> extends PivotAxisBarOptions {
    readonly pivot: PivotController<Row>;
    readonly aggregateOptions?: readonly PivotAggregate[] | undefined;
    readonly localeText?: PivotLocaleText | undefined;
    readonly className?: string | undefined;
    readonly style?: CSSProperties | undefined;
}
PivotAxisBarProps members (12, 7 inherited)
NameSignatureDescription
pivotreadonly pivot: PivotController<Row>;
aggregateOptionsoptionalreadonly aggregateOptions?: readonly PivotAggregate[] | undefined;
localeTextoptionalreadonly localeText?: PivotLocaleText | undefined;
classNameoptionalreadonly className?: string | undefined;
styleoptionalreadonly style?: CSSProperties | undefined;
showFieldsPaneloptionalinheritedshowFieldsPanel?: boolean;

The fields panel (fields not on the report). Default false.

showAggregateoptionalinheritedshowAggregate?: boolean;

Aggregate menu on value field buttons. Default true.

showFilteroptionalinheritedshowFilter?: boolean;
showSortoptionalinheritedshowSort?: boolean;
showRemoveoptionalinheritedshowRemove?: boolean;
draggableoptionalinheriteddraggable?: boolean;
axesoptionalinheritedaxes?: readonly PivotAxis[];

Axes shown. Default every axis.