# DataGridSortItem (@salmonui/data-grid)

> The DataGridSortItem interface of @salmonui/data-grid: One sorted column.

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

```ts
import type { DataGridSortItem } 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 DataGridSortItem {
    field: string;
    direction: DataGridSortDirection;
}
```

One sorted column.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `field` | `field: string;` |  |  |
| `direction` | `direction: DataGridSortDirection;` |  |  |
