API reference: @salmonui/data-grid
DataGridExportEventinterface
import type { DataGridExportEvent } from '@salmonui/data-grid';interface DataGridExportEvent<Row> extends DataGridEvent {
readonly format: ExportFormat;
readonly options: DataGridExportOptions<Row>;
readonly file: ExportFile<Uint8Array | string>;
}
An Excel or PDF export finished: the file is ready (before the download).
| Name | Signature | Description |
|---|---|---|
format | readonly format: ExportFormat; | |
options | readonly options: DataGridExportOptions<Row>; | |
file | readonly file: ExportFile<Uint8Array | string>; | |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |