API reference: @salmonui/data-grid
DataGridOutputPropsinterface
import type { DataGridOutputProps } from '@salmonui/data-grid';interface DataGridOutputProps<Row> {
exportWriters?: DataGridExportWriters;
onBeforeExport?: (event: DataGridBeforeExportEvent<Row>) => void;
onExport?: (event: DataGridExportEvent<Row>) => void;
printing?: DataGridPrinting<Row>;
onBeforePrint?: (event: DataGridBeforePrintEvent) => void;
onAfterPrint?: (event: DataGridAfterPrintEvent) => void;
}
| Name | Signature | Description |
|---|---|---|
exportWritersoptional | exportWriters?: DataGridExportWriters; | Excel and PDF writer loaders; without one the matching toolbar and menu items are disabled. |
onBeforeExportoptional | onBeforeExport?: (event: DataGridBeforeExportEvent<Row>) => void; | |
onExportoptional | onExport?: (event: DataGridExportEvent<Row>) => void; | |
printingoptional | printing?: DataGridPrinting<Row>; | Print scope and hierarchy mode ( |
onBeforePrintoptional | onBeforePrint?: (event: DataGridBeforePrintEvent) => void; | |
onAfterPrintoptional | onAfterPrint?: (event: DataGridAfterPrintEvent) => void; |