API reference: @salmonui/pivot-table
PivotDrillThroughEventinterface
import type { PivotDrillThroughEvent } from '@salmonui/pivot-table';interface PivotDrillThroughEvent<Row = unknown> extends PivotEvent {
readonly rowKey: string;
readonly columnKey: string;
readonly measure: string | null;
readonly rowIndex: number;
readonly columnIndex: number;
readonly cell: PivotCell;
rows(): readonly Row[];
}
onBeforeDrillThrough / onDrillThrough.
| Name | Signature | Description |
|---|---|---|
rowKey | readonly rowKey: string; | |
columnKey | readonly columnKey: string; | |
measure | readonly measure: string | null; | |
rowIndex | readonly rowIndex: number; | |
columnIndex | readonly columnIndex: number; | |
cell | readonly cell: PivotCell; | |
rows | rows(): readonly Row[]; | The raw rows behind the cell (computed on call). |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |