Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
CSVParseCallbacks interface
Signature
export interface CSVParseCallbacks
Import
import { CSVParseCallbacks } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
onHeader | (fields: Field[]) => void | Get a callback before any rows are processed This can return a modified table to force any Column configurations |
onRow | (row: any[]) => void |
onHeader property
Get a callback before any rows are processed This can return a modified table to force any Column configurations
Signature
onHeader: (fields: Field[]) => void;
onRow property
Signature
onRow: (row: any[]) => void;