API reference: @salmonui/data-grid/engine/persistence
createDataGridStateApifunction
import { createDataGridStateApi } from '@salmonui/data-grid/engine/persistence';function createDataGridStateApi<Row>(engine: DataGridEngine<Row>): DataGridStateApi;
Builds the state methods of a grid instance. Lives on the
./persistence.js subpath (not in createDataGridApi) so the
root entry does not carry the persistence code; renderers compose it into
their instance API.