+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "onUpdateDatasourceJsonDataOption"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## onUpdateDatasourceJsonDataOption variable

### onUpdateDatasourceJsonDataOption variable

<b>Signature</b>

```typescript
onUpdateDatasourceJsonDataOption: <J, S, K extends keyof J>(props: DataSourcePluginOptionsEditorProps<J, S>, key: K) => (event: React.SyntheticEvent<HTMLInputElement | HTMLSelectElement>) => void
```
<b>Import</b>

```typescript
import { onUpdateDatasourceJsonDataOption } from '@grafana/data';
```
