API reference: @salmonui/data-grid
DataGridExportWritersinterface
import type { DataGridExportWriters } from '@salmonui/data-grid';interface DataGridExportWriters {
readonly excel?: () => Promise<{
readonly exportXlsx: WriterFn;
}>;
readonly pdf?: () => Promise<{
readonly exportPdf: WriterFn;
}>;
}
On-demand Excel and PDF writer modules. Pass dynamic imports so the writers
stay out of the initial bundle: excel loads the xlsx subpath and
pdf the pdf subpath of the
| Name | Signature | Description |
|---|---|---|
exceloptional | readonly excel?: () => Promise<{
readonly exportXlsx: WriterFn;
}>; | |
pdfoptional | readonly pdf?: () => Promise<{
readonly exportPdf: WriterFn;
}>; |