Created a custom panel plugin in grafana using react. In the data source have added a query. When changing the query condition the custom panel doesn’t refresh with the latest data and the old value of the data source is only retained. How to emit the refresh on click of ‘Apply’ . Also, can you help on clicking the refresh button in the grafana to load the latest data from data prop into the custom panel ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Refresh/load data from datasource from Panel Plugin | 1 | 560 | April 13, 2023 | |
How to update a data source query from the panel display options | 2 | 465 | October 28, 2022 | |
Refresh the dashboard from the react panel plugin | 14 | 2744 | May 12, 2023 | |
Update Grafana panel plugin on data received using React&TypeScript | 3 | 966 | June 15, 2022 | |
Panel won't refresh if it updates a variable that is used in another panel | 6 | 133 | July 17, 2024 |