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

TableInputCSV class

Expects the container div to have size set and will fill it 100%

Signature

typescript
export declare class TableInputCSV extends React.PureComponent<Props, State> 

Import

typescript
import { TableInputCSV } from '@grafana/ui';

Constructors

ConstructorModifiersDescription
constructor(props)Constructs a new instance of the TableInputCSV class

Properties

PropertyModifiersTypeDescription
onTextChange(event: any) => void
readCSVany

Methods

MethodModifiersDescription
componentDidUpdate(prevProps, prevState)
render()

constructor(props)

Constructs a new instance of the TableInputCSV class

Signature

typescript
constructor(props: Props);

Parameters

ParameterTypeDescription
propsProps

onTextChange property

Signature

typescript
onTextChange: (event: any) => void;

readCSV property

Signature

typescript
readCSV: any;

componentDidUpdate method

Signature

typescript
componentDidUpdate(prevProps: Props, prevState: State): void;

Parameters

ParameterTypeDescription
prevPropsProps
prevStateState

Returns:

void

render method

Signature

typescript
render(): JSX.Element;

Returns:

JSX.Element