# DataGridColumnChooserItem (@salmonui/data-grid)

> The DataGridColumnChooserItem interface of @salmonui/data-grid: One listed column of the column chooser.

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

```ts
import type { DataGridColumnChooserItem } 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: interface

```ts
interface DataGridColumnChooserItem<Row = unknown> {
    readonly field: string;
    readonly header: string;
    readonly hidden: boolean;
    readonly matches: boolean;
    readonly column: DataGridColumnInfo<Row>;
}
```

One listed column of the column chooser.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `field` | `readonly field: string;` |  | Column key. |
| `header` | `readonly header: string;` |  |  |
| `hidden` | `readonly hidden: boolean;` |  | Draft visibility (applied on OK, or at once with `mode: 'immediate'`). |
| `matches` | `readonly matches: boolean;` |  | Shown by the current search text. |
| `column` | `readonly column: DataGridColumnInfo<Row>;` |  |  |
