API reference: @salmonui/data-grid/engine
CellSpanBlockinterface
import type { CellSpanBlock } from '@salmonui/data-grid/engine';interface CellSpanBlock {
readonly rowIndex: number;
readonly columnIndex: number;
readonly rowSpan: number;
readonly colSpan: number;
}
A span block in visible coordinates: its anchor (top-left) cell and its size.
| Name | Signature | Description |
|---|---|---|
rowIndex | readonly rowIndex: number; | Visible row index of the anchor (first) row. |
columnIndex | readonly columnIndex: number; | Visible column index (left zone, center, right zone) of the anchor column. |
rowSpan | readonly rowSpan: number; | |
colSpan | readonly colSpan: number; |