# findColumn (@salmonui/data-grid/engine)

> The findColumn function of @salmonui/data-grid/engine: Leaf column by column id, else the first leaf with that field.

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

```ts
import { findColumn } from '@salmonui/data-grid/engine';
```

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

## Reference

Kind: function

```ts
function findColumn<Row>(engine: DataGridEngine<Row>, fieldOrId: string): CompiledColumn<Row> | undefined;
```

Leaf column by column id, else the first leaf with that `field`.
