# DataGridSpanColumn (@salmonui/data-grid)

> The DataGridSpanColumn interface of @salmonui/data-grid: Span fields of a column.

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

```ts
import type { DataGridSpanColumn } 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 DataGridSpanColumn<Row> {
    readonly colSpan?: DataGridSpan<Row>;
    readonly rowSpan?: DataGridSpan<Row>;
}
```

Span fields of a column.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `colSpan` | `readonly colSpan?: DataGridSpan<Row>;` | optional | Covers following visible columns of the same pin zone (clamped at a pin edge). |
| `rowSpan` | `readonly rowSpan?: DataGridSpan<Row>;` | optional | Covers following rows, also under row virtualization; in tree mode a span ends at a parent boundary. |
