API reference: @salmonui/pivot-table
PivotAxisBarcomponent
import { PivotAxisBar } from '@salmonui/pivot-table';function PivotAxisBar<Row = unknown>(props: PivotAxisBarProps<Row>): ReactNode;
The axis bar. Bind it to the same store as the table: <PivotAxisBar pivot={pivot} />.
Props: PivotAxisBarProps
| Name | Signature | Description |
|---|---|---|
pivot | readonly pivot: PivotController<Row>; | |
aggregateOptionsoptional | readonly aggregateOptions?: readonly PivotAggregate[] | undefined; | |
localeTextoptional | readonly localeText?: PivotLocaleText | undefined; | |
classNameoptional | readonly className?: string | undefined; | |
styleoptional | readonly style?: CSSProperties | undefined; | |
showFieldsPaneloptionalinherited | showFieldsPanel?: boolean; | The fields panel (fields not on the report). Default false. |
showAggregateoptionalinherited | showAggregate?: boolean; | Aggregate menu on value field buttons. Default true. |
showFilteroptionalinherited | showFilter?: boolean; | |
showSortoptionalinherited | showSort?: boolean; | |
showRemoveoptionalinherited | showRemove?: boolean; | |
draggableoptionalinherited | draggable?: boolean; | |
axesoptionalinherited | axes?: readonly PivotAxis[]; | Axes shown. Default every axis. |