# DataGridPinnedColumns (@salmonui/data-grid)

> The DataGridPinnedColumns interface of @salmonui/data-grid: Count shorthand: the first / last N visible columns are pinned.

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

```ts
import type { DataGridPinnedColumns } 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 DataGridPinnedColumns {
    readonly start?: number;
    readonly end?: number;
}
```

Count shorthand: the first / last N visible columns are pinned.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `start` | `readonly start?: number;` | optional |  |
| `end` | `readonly end?: number;` | optional |  |
