View as Markdown

API reference: @salmonui/data-grid

DataGridSpanColumninterface

import type { DataGridSpanColumn } from '@salmonui/data-grid';
interface DataGridSpanColumn<Row> {
    readonly colSpan?: DataGridSpan<Row>;
    readonly rowSpan?: DataGridSpan<Row>;
}

Span fields of a column.

DataGridSpanColumn members (2)
NameSignatureDescription
colSpanoptionalreadonly colSpan?: DataGridSpan<Row>;

Covers following visible columns of the same pin zone (clamped at a pin edge).

rowSpanoptionalreadonly rowSpan?: DataGridSpan<Row>;

Covers following rows, also under row virtualization; in tree mode a span ends at a parent boundary.