mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
46 lines
1.2 KiB
Markdown
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[]) => 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[]) => 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;
|
|
```
|