[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / exportAction

# Function: exportAction()

> **exportAction**(`format?`): [`Action`](../classes/Action)

Defined in: [admin/src/actions/transfer.ts:75](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/actions/transfer.ts#L75)

Header action → download every row the current list query returns.

Reads `ctx.listOptions`, which the list page fills with its live scope, and
asks for all of it rather than the visible page.

## Parameters

### format?

[`ExportFormat`](../type-aliases/ExportFormat) = `"csv"`

## Returns

[`Action`](../classes/Action)
