This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataonUpdateDatasourceJsonDataOptionSelect

onUpdateDatasourceJsonDataOptionSelect variable

onUpdateDatasourceJsonDataOptionSelect variable

Signature

onUpdateDatasourceJsonDataOptionSelect: <J, S, K extends keyof J>(props: DataSourcePluginOptionsEditorProps<J, S>, key: K) => (selected: SelectableValue) => void

Import

import { onUpdateDatasourceJsonDataOptionSelect } from '@grafana/data';