Set ad hoc filter from Panel Plugin

Hello, I’m working in a Plugin based on the react template project on github.
Is it possible for me to set an ad hoc filter for all dashboard when some user clicks in my panel?

(I’m using elasticsearch datasource)

Thank you.

You can do it from an Agnular panel (look at the Submenu code to see how), but to change it from a React panel, you will have to customize PanelChrome. See here for details.

Still looking for a way to do this in react. I’ve developed a word cloud panel plugin and would like to set ad hoc filters when clicking on a word so the rest of the dashboard is affected.

Anyone? Thank you!