# PivotDrillThroughEvent (@salmonui/pivot-table)

> The PivotDrillThroughEvent interface of @salmonui/pivot-table: onBeforeDrillThrough / onDrillThrough.

Canonical: https://salmonui.dev/docs/reference/pivot-table/PivotDrillThroughEvent

```ts
import type { PivotDrillThroughEvent } from '@salmonui/pivot-table';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table.md).

## Reference

Kind: interface

```ts
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`.

Members (11):

| Name | Signature | Flags | 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). |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |
