API reference: @salmonui/data-grid/engine/focus
spanAnchorOffunction
import { spanAnchorOf } from '@salmonui/data-grid/engine/focus';function spanAnchorOf<Row>(ctx: ModuleContext<Row>, spans: CellSpanResolver | null, rowId: RowId, columnId: ColumnId): {
rowId: RowId;
columnId: ColumnId;
} | null;
The anchor cell of the span covering a cell: the cell a span-aware focus, selection, or edit targets. Null when there is no resolver, the cell is outside the view, or it is not covered by a span starting elsewhere.