View as Markdown

API reference: @salmonui/pivot-table/engine

PivotMemberPathtype

import type { PivotMemberPath } from '@salmonui/pivot-table/engine';

Also exported from @salmonui/pivot-table.

type PivotMemberPath = readonly [
    axis: 'rows' | 'columns',
    ...members: Json[]
];

Member keys from the axis root, prefixed by the axis: ['rows', 'Asia', 'Japan'].

PivotMemberPath members (2, 2 inherited)
NameSignatureDescription
0inherited0: "columns" | "rows";
lengthinheritedlength: number;