# columns

Compatibility input for column definitions. Prefer columnDefs in new configurations.

Canonical: https://grid.syidax.com/docs/options/columns/

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

## What does this API do?

Compatibility input for column definitions. Prefer columnDefs in new configurations.

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

## Exact input and result types

```typescript
columns: GridColumnDef[]
```

| Item | Value |
| --- | --- |
| JavaScript name | columns |
| HTML attribute | columns |
| Default | [] |
| Input type | GridColumnDef[] |

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

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

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

## Read related types

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

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

## Feature explanations and examples

- [JavaScript processing engine](https://grid.syidax.com/docs/features/js-processing.md) — The JavaScript engine is the standard browser execution path for sorting, filtering, and processing table data. Use it as a straightforward starting point for checking deployment environments and feature combinations.
