View as Markdown

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

exportCsvfunction

import { exportCsv } from '@salmonui/data-grid/engine/export';
function exportCsv<Row>(source: ExportSource<Row>, options?: CsvExportOptions<Row>, handlers?: ExportHandlers<Row, string>): Promise<ExportFile<string> | null>;

Exports a grid (an engine with the export module, or a model) as CSV text.