Updating template variables based on table-row click (without reloading whole dashboard)


I wonder whether there’s a solution for the following:
I got a dashboard with 2 panels (1 table and 1 graph) and my source is a mySQL database for both.
The table panel contains a list of car-trips with attributes like start-time, end-time and distance.
I defined one of the attributes (of each row) clickable, which reloads the whole (current ) dashboard and sets some templates variables accordingly which are driving the graph panel to show the respective details of the trip I clicked on.

Everything works fine, besides the annoying part that the whole dashboard is being reloaded instead only the graph panel being refreshed.

Is there a way that I can change template variables based on a table-click and refreshing only the graph panel?

I just started 3 days ago with Grafana hence apologies if this is a newbie question, but I couldn’t find a solution in the forum.

Many thanks in advance for any tip/hint!