# DataGridContextMenuTarget (@salmonui/data-grid)

> The DataGridContextMenuTarget type of @salmonui/data-grid.

Canonical: https://salmonui.dev/docs/reference/data-grid/DataGridContextMenuTarget

```ts
import type { DataGridContextMenuTarget } from '@salmonui/data-grid';
```

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

## Reference

Kind: type

```ts
type DataGridContextMenuTarget = {
    readonly kind: 'header';
    readonly field: string;
} | {
    readonly kind: 'cell';
    readonly rowId: RowId;
    readonly field: string;
} | {
    readonly kind: 'row';
    readonly rowId: RowId;
} | {
    readonly kind: 'groupCaption';
    readonly rowId: RowId;
} | {
    readonly kind: 'pager';
};
```
