View as Markdown

API reference: @salmonui/data-grid/engine

createSelectionApifunction

import { createSelectionApi } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/selection.

function createSelectionApi<Row>(engine: DataGridEngine<Row>): SelectionApi<Row>;

Selection methods over an engine with the selection module (spread into the DataGrid API).