grafana/docs/sources/packages_api/data/csvparsecallbacks.md
Marcus Andersson cc3fc18076
Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

46 lines
1.2 KiB
Markdown

+++
# -----------------------------------------------------------------------
# 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;
```