Menu

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.

Enterprise Open source

CSVParseCallbacks interface

Signature

typescript
export interface CSVParseCallbacks 

Import

typescript
import { CSVParseCallbacks } from '@grafana/data';

Properties

PropertyTypeDescription
onHeader(fields: Field[]) => voidGet 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

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

onRow property

Signature

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