{/* Do not edit this file. It is automatically generated by API Documenter. */}


## ExportOptions

Common model for grid and data export settings

**Signature:**

```typescript
export interface ExportOptions extends ExportBaseOptions
```
**Extends:** [ExportBaseOptions](/refs/Interface/ExportBaseOptions)

## Remarks

Inherits [ExportBaseOptions](/refs/Interface/ExportBaseOptions). [GridExportOptions](/refs/Interface/GridExportOptions){/* */}, [DataExportOptions](/refs/Interface/DataExportOptions) are submodels.

\[Superclass\]

[ExportBaseOptions](/refs/Interface/ExportBaseOptions)

\[subclass\]

[GridExportOptions](/refs/Interface/GridExportOptions)

[DataExportOptions](/refs/Interface/DataExportOptions)

## Events

| Property | Type | Description |
| --- | --- | --- |
| [booleanCallback](/refs/Interface/ExportOptions#booleancallback) | [ExportValueCallback](/refs/realgrid#exportvaluecallback) | Callback to be performed when outputting a boolean field |
| [datetimeCallback](/refs/Interface/ExportOptions#datetimecallback) | [ExportValueCallback](/refs/realgrid#exportvaluecallback) | Callback to be performed when outputting datetime field |
| [numberCallback](/refs/Interface/ExportOptions#numbercallback) | [ExportValueCallback](/refs/realgrid#exportvaluecallback) | Callback to be performed when number field is output |
| [objectCallback](/refs/Interface/ExportOptions#objectcallback) | [ExportValueCallback](/refs/realgrid#exportvaluecallback) | Callback to be performed when outputting object field |
| [textCallback](/refs/Interface/ExportOptions#textcallback) | [ExportValueCallback](/refs/realgrid#exportvaluecallback) | Callback to be performed when outputting text field |

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [booleanFormat](/refs/Interface/ExportOptions#booleanformat) | string | Format when in Boolean format |
| [count](/refs/Interface/ExportOptions#count) | number | Number of rows to export |
| [datetimeFormat](/refs/Interface/ExportOptions#datetimeformat) | string | Format when in date format |
| [replaceCrText](/refs/Interface/ExportOptions#replacecrtext) | string | String to be replaced if cr(Carriage Return) is present |
| [replaceLfText](/refs/Interface/ExportOptions#replacelftext) | string | String to be replaced if lf (Line Feed) exists |
| [seperator](/refs/Interface/ExportOptions#seperator) | string | separator |
| [start](/refs/Interface/ExportOptions#start) | number | Row to start exporting |
| [trailPointZeroFormat](/refs/Interface/ExportOptions#trailpointzeroformat) | string | Format applied when the format is numeric and the decimal point is `0`{/* */} |

## Events Desc

### booleanCallback

Callback to be performed when outputting a boolean field

`Type` - [ExportValueCallback](/refs/realgrid#exportvaluecallback)

<hr/>

### datetimeCallback

Callback to be performed when outputting a datetime field

`Type` - [ExportValueCallback](/refs/realgrid#exportvaluecallback)

<hr/>

### numberCallback

Callback to be performed when outputting the number field

`Type` - [ExportValueCallback](/refs/realgrid#exportvaluecallback)

<hr/>

### objectCallback

Callback to be performed when outputting object field

`Type` - [ExportValueCallback](/refs/realgrid#exportvaluecallback)

<hr/>

### textCallback

Callback to be performed when outputting text field

`Type` - [ExportValueCallback](/refs/realgrid#exportvaluecallback)

**Remarks:**

It was created to enable calculations in Excel when exporting time values in text type.

<hr/>

## Properties Desc

### booleanFormat

Format when in Boolean format

`Type` - string

<hr/>

### count

Number of rows to export

`Type` - number

**Remarks:**

If specified as `-1`, the entire row will be exported.

<hr/>

### datetimeFormat

Format when in date format

`Type` - string

<hr/>

### replaceCrText

String to be replaced if cr(Carriage Return) is present

`Type` - string

<hr/>

### replaceLfText

String to be replaced if lf (Line Feed) is present

`Type` - string

<hr/>

### seperator

Separator

`Type` - string

**Remarks:**

Separator when exporting to csv

<hr/>

### start

Row to start exporting

`Type` - number

<hr/>

### trailPointZeroFormat

Format applied when the decimal point is `0`{/* */} in numeric format

`Type` - string

**Remarks:**

Not applied when [DataColumn.excelFormat](/refs/Interface/DataColumn#excelformat){/* */} is specified or when `numberFormat`{/* */} or `excelFormat`{/* */} is specified in the dynamic style.

<hr/>