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

> The ExportScope type of @salmonui/data-grid/engine/export: Which rows an export covers: - filtered (default, AllPages): every page of the current query (search, filter, sort, grouping applied). - page (CurrentPage): the rows of the current page as the grid shows them. - selected: the selected rows, in view order (ungrouped). - all: every source row in source order, ignoring the query.

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

```ts
import type { ExportScope } 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: type

```ts
type ExportScope = 'filtered' | 'page' | 'selected' | 'all';
```

Which rows an export covers:
- `filtered` (default, `AllPages`): every page of the current query (search,
  filter, sort, grouping applied).
- `page` (`CurrentPage`): the rows of the current page as the grid shows them.
- `selected`: the selected rows, in view order (ungrouped).
- `all`: every source row in source order, ignoring the query.
