Dear all,
I have a dash app where I have a timeline graph, whose data are the same as an AGgrid, side-by-side. I want that: when the user clicks on an AGgrid row the bar associated to that row blinks. I want a pure client side solution.
My solution so far is by using a callback triggered by an Interval, that changes the color of the bar. This Interval is disabled by default and it is enabled by the click at an AG-grid row. Together with a Store, I can count how many times I have changed the color of that particular bar.
However, I think this is a too complicated solution for something that should be simpler. I wonder if there is a way to do this accessing the figure direcly, similar to what can be done with the AGgrid API.
(for instance, I can elegantly make the click on the graph induce a blink and scrollTo the corresponding row in the AG Grid, with the grid’s API).
Another interesting scenario would be (assuming that each bar is a div), to get the id of that div and apply some CSS animation to it, drawing the user’s attention.
Any suggestions??