API Reference@grafana/data › CSVParseCallbacks

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;