View as Markdown

API reference: @salmonui/data-grid

DataGridMergeCellstype

import type { DataGridMergeCells } from '@salmonui/data-grid';
type DataGridMergeCells = boolean | 'rows' | 'columns';

DataGrid-wide merging of equal adjacent values: true both directions, 'rows' vertical (rowSpan: true on every column), 'columns' horizontal. A column's own colSpan / rowSpan wins.