# ExportScope (@salmonui/core/export-model)

> The ExportScope type of @salmonui/core/export-model: 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/core/export-model/ExportScope

```ts
import type { ExportScope } from '@salmonui/core/export-model';
```

Entry index: https://salmonui.dev/docs/reference/core/export-model (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/export-model.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.
