# DataGridSpanContext (@salmonui/data-grid)

> The DataGridSpanContext interface of @salmonui/data-grid.

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

```ts
import type { DataGridSpanContext } 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 DataGridSpanContext<Row> {
    readonly row: Row;
    readonly rowId: RowId;
    readonly rowIndex: number;
    readonly column: DataGridColumnInfo<Row>;
    readonly field: string;
    readonly value: unknown;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `row` | `readonly row: Row;` |  |  |
| `rowId` | `readonly rowId: RowId;` |  |  |
| `rowIndex` | `readonly rowIndex: number;` |  |  |
| `column` | `readonly column: DataGridColumnInfo<Row>;` |  |  |
| `field` | `readonly field: string;` |  | Column id of the cell. |
| `value` | `readonly value: unknown;` |  |  |
