API reference: @salmonui/data-grid/engine
getSourceIndexfunction
import { getSourceIndex } from '@salmonui/data-grid/engine';function getSourceIndex<Row>(model: RowModelSnapshot<Row>, visibleIndex: number): number;
Source index of the row at a visible index, or -1 (also for synthetic rows such as group captions).