Hi I have a requirement in Grafana where I need to scroll the table panels in the dashboard synchronously (both horizontal and vertical).
I tried using the Tampermonkey extension to add javascript to the page but its specific to urls so if want to do sync scroll in multiple dashboards i need to configure multiple scripts with the dashboards urls.
So I decided to create a custom panel plugin which if added to the dashboard makes the panels scroll in sync. It is making the panels to scroll in sync but when I scroll in one direction and then scroll in the other direction the panels position gets reset to initial position. I also tried storing the last scroll position in a variable (but the value gets reset to zero). How do I identify what’s causing the panel position to reset? Has anybody else ever tried to do this or is trying to do please share your thoughts.
I’m using Grafana Version 11 on Windows 11.