API reference: @salmonui/data-grid/engine/export-server
ServerExportHandlerstype
import type { ServerExportHandlers } from '@salmonui/data-grid/engine/export-server';type ServerExportHandlers<Row> = Omit<ExportHandlers<Row>, 'onExport'>;
Hooks and onBeforeExport; there is no file promise, so no onExport.
| Name | Signature | Description |
|---|---|---|
onBeforeExportoptionalinherited | onBeforeExport?: ((event: BeforeExportEvent) => void); | Synchronous; |
celloptionalinherited | cell?: ((ctx: ExportCellHookContext<Row>) => void | ExportCellPatch | null | undefined); | Per data cell. Not called when unset. |
headerCelloptionalinherited | headerCell?: ((ctx: ExportHeaderCellHookContext<Row>) => void | { readonly text?: string; readonly style?: ExportCellStyle; } | null | undefined); | Per header cell. |
aggregateCelloptionalinherited | aggregateCell?: ((ctx: ExportAggregateCellHookContext) => void | { readonly text?: string; readonly style?: ExportCellStyle; } | null | undefined); | Per aggregate cell (grid footer, group footer, group caption). |
groupCaptionoptionalinherited | groupCaption?: ((ctx: ExportGroupCaptionHookContext) => void | string | null | undefined); | Group caption text. |
detailoptionalinherited | detail?: ((ctx: ExportDetailContext<Row>) => void | ExportDetail | null | undefined); | A detail block written after a data row (text lines or a child table), or null for none. |