# runBeforeExport (@salmonui/data-grid/engine/export)

> The runBeforeExport function of @salmonui/data-grid/engine/export: Raises onBeforeExport; true when the export may proceed.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-export/runBeforeExport

```ts
import { runBeforeExport } from '@salmonui/data-grid/engine/export';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-export (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-export.md).

## Reference

Kind: function

```ts
function runBeforeExport(handlers: {
    readonly onBeforeExport?: ((event: BeforeExportEvent) => void) | undefined;
}, format: ExportFormat): boolean;
```

Raises `onBeforeExport`; true when the export may proceed.
