# getColumn

Finds a current column object by ID. Returns null for missing columns and reflects live state rather than an initial columnDefs copy.

Canonical: https://grid.syidax.com/docs/methods/getColumn/

<a id="meaning"></a>

## What does this API do?

Finds a current column object by ID. Returns null for missing columns and reflects live state rather than an initial columnDefs copy.

<a id="contract"></a>

## Exact input and result types

```typescript
getColumn<TValue = unknown>(columnId: string): Promise<GridColumnRef<GridData, TValue, unknown> | null>
```

| Arguments | Required | Type |
| --- | --- | --- |
| columnId | Required | string |

The return type is `Promise<GridColumnRef<GridData, TValue, unknown> | null>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.getColumn(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

- [GridColumnRef](https://grid.syidax.com/docs/types/GridColumnRef.md)
- [GridData](https://grid.syidax.com/docs/types/GridData.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Live column API](https://grid.syidax.com/docs/features/column-api.md) — Live column objects are references connected to the current Grid. They differ from serializable column-state arrays: references suit UI controls for individual columns, while state arrays suit saved preferences.
