+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "CSVParseCallbacks"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## CSVParseCallbacks interface

<b>Signature</b>

```typescript
export interface CSVParseCallbacks 
```
<b>Import</b>

```typescript
import { CSVParseCallbacks } from '@grafana/data';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [onHeader](#onheader-property) | <code>(fields: Field[]) =&gt; void</code> | Get a callback before any rows are processed This can return a modified table to force any Column configurations |
|  [onRow](#onrow-property) | <code>(row: any[]) =&gt; void</code> |  |

### onHeader property

Get a callback before any rows are processed This can return a modified table to force any Column configurations

<b>Signature</b>

```typescript
onHeader: (fields: Field[]) => void;
```

### onRow property

<b>Signature</b>

```typescript
onRow: (row: any[]) => void;
```
