# SchedulerCsvExportOptions (@salmonui/scheduler)

> The SchedulerCsvExportOptions interface of @salmonui/scheduler.

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerCsvExportOptions

```ts
import type { SchedulerCsvExportOptions } from '@salmonui/scheduler';
```

Entry index: https://salmonui.dev/docs/reference/scheduler (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/scheduler.md).

## Reference

Kind: interface

```ts
interface SchedulerCsvExportOptions<Row = unknown> extends SchedulerTableExportOptions<Row> {
    readonly separator?: string | undefined;
    readonly includeHeaders?: boolean | undefined;
    readonly bom?: boolean | undefined;
    readonly escapeFormulas?: boolean | undefined;
}
```

Members (11):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `separator` | `readonly separator?: string \| undefined;` | optional | Field separator (`separator`). Default `,`. |
| `includeHeaders` | `readonly includeHeaders?: boolean \| undefined;` | optional |  |
| `bom` | `readonly bom?: boolean \| undefined;` | optional | UTF-8 byte order mark. Default false. |
| `escapeFormulas` | `readonly escapeFormulas?: boolean \| undefined;` | optional | Neutralize spreadsheet formulas in text cells, as Data Grid CSV. Default true; `false` writes raw text. |
| `fields` | `fields?: readonly SchedulerExportField[];` | optional, inherited | Exported fields in order (`fields` / `fieldsInfo`). Default: every role whose property occurs in a row, then the resource fields. |
| `headerTexts` | `headerTexts?: Readonly<Record<string, string>>;` | optional, inherited | Header text by role, mapped property or field. Default: the row property name. |
| `includeOccurrences` | `includeOccurrences?: boolean;` | optional, inherited | One row per occurrence of `range` (default the visible range) instead of one per stored row. |
| `range` | `range?: { readonly start: Date; readonly end: Date; };` | optional, inherited |  |
| `rows` | `rows?: readonly Row[];` | optional, inherited | Rows to export instead of the Scheduler's events (`customData`). |
| `fileName` | `fileName?: string;` | optional, inherited | File name; the extension is added when missing. Default `Schedule`. |
| `download` | `download?: boolean;` | optional, inherited | False resolves to the file without downloading it. Default true. |
