View as Markdown

API reference: @salmonui/data-grid

DataGridChromeColumninterface

import type { DataGridChromeColumn } from '@salmonui/data-grid';
interface DataGridChromeColumn<Row> extends DataGridSpanColumn<Row> {
    readonly menu?: boolean;
}

Chrome fields of DataGridColumn.

DataGridChromeColumn members (3, 2 inherited)
NameSignatureDescription
menuoptionalreadonly menu?: boolean;

Column menu button on this header. Default true when the grid columnMenu is on.

colSpanoptionalinheritedcolSpan?: DataGridSpan<Row>;

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

rowSpanoptionalinheritedrowSpan?: DataGridSpan<Row>;

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