API reference: @salmonui/data/json
RemotePivotCellinterface
import type { RemotePivotCell } from '@salmonui/data/json';Also exported from @salmonui/data.
interface RemotePivotCell {
readonly rowIndex: number;
readonly columnIndex: number;
readonly rowKey: string;
readonly columnKey: string;
readonly measure: string | null;
readonly value: number | null;
readonly rawValue: number | null;
readonly formattedValue: string;
readonly kind: 'value' | 'subtotal' | 'grandTotal';
readonly rowCount: number;
}
A cell as PivotCell. rawValue equals value and rowCount is 0: use drillThrough.
| Name | Signature | Description |
|---|---|---|
rowIndex | readonly rowIndex: number; | |
columnIndex | readonly columnIndex: number; | |
rowKey | readonly rowKey: string; | |
columnKey | readonly columnKey: string; | |
measure | readonly measure: string | null; | |
value | readonly value: number | null; | |
rawValue | readonly rawValue: number | null; | |
formattedValue | readonly formattedValue: string; | |
kind | readonly kind: 'value' | 'subtotal' | 'grandTotal'; | |
rowCount | readonly rowCount: number; |