# GetDetailRowsContext

Canonical page: https://www.adaptabletools.com/docs/reference/getdetailrowscontext

Context provided to `ExportOptions.getDetailRows()` callback used when exporting Detail Rows

```ts title="TypeScript"
export interface GetDetailRowsContext<TData = any> extends BaseExportContext 
```

###### Extends

[`BaseExportContext`](https://www.adaptabletools.com/docs/reference/baseexportcontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [adaptableColumn](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#adaptablecolumn) | [`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>` | Column of Master Row Node |
| [createCellCsv](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#createcellcsv) | `(cellContent: any) => CsvCell` | Factory function to create a CSV Cell |
| [createCellExcel](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#createcellexcel) | `(cellContent: any, cellType: ExcelDataType) => ExcelCell` | Factory function to create an Excel Cell |
| [createCellHeader](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#createcellheader) | `(cellContent: any) => ExcelCell` | Factory function to create an Header Cell (either CSV or Excel) |
| [isExpanded](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#isexpanded) | `boolean` | Whether the Master Row Node is expanded |
| [masterRowData](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#masterrowdata) | `TData` | Data of Master Row Node |
| [masterRowNode](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#masterrownode) | `IRowNode<TData>` | Master Row Node |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/getdetailrowscontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### adaptableColumn

Column of Master Row Node

```ts title="TypeScript"
adaptableColumn: AdaptableColumn<TData>;
```

###### Property Value

[`AdaptableColumn`](https://www.adaptabletools.com/docs/reference/adaptablecolumn.md)`<TData>`

### createCellCsv

Factory function to create a CSV Cell

```ts title="TypeScript"
createCellCsv: (cellContent: any) => CsvCell;
```

###### Property Value

`(cellContent: any) => CsvCell`

### createCellExcel

Factory function to create an Excel Cell

```ts title="TypeScript"
createCellExcel: (cellContent: any, cellType: ExcelDataType) => ExcelCell;
```

###### Property Value

`(cellContent: any, cellType: ExcelDataType) => ExcelCell`

### createCellHeader

Factory function to create an Header Cell (either CSV or Excel)

```ts title="TypeScript"
createCellHeader: (cellContent: any) => ExcelCell;
```

###### Property Value

`(cellContent: any) => ExcelCell`

### isExpanded

Whether the Master Row Node is expanded

```ts title="TypeScript"
isExpanded: boolean;
```

###### Property Value

`boolean`

### masterRowData

Data of Master Row Node

```ts title="TypeScript"
masterRowData: TData;
```

###### Property Value

`TData`

### masterRowNode

Master Row Node

```ts title="TypeScript"
masterRowNode: IRowNode<TData>;
```

###### Property Value

`IRowNode<TData>`

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`
