View as Markdown

API reference: @salmonui/data-grid/engine/export

createExportModelFromContextfunction

import { createExportModelFromContext } from '@salmonui/data-grid/engine/export';
function createExportModelFromContext<Row>(ctx: ModuleContext<Row>, options?: ExportModelOptions<Row>): ExportModel<Row>;

Builds the export model from a module context. For renderers that load the export code on demand: they register a context-only module up front (no export code in the default bundle) and pass its context here later.