I have a analytics module which is based on bootstrap 3, angular, grid by JQgrid and graphs by C3. The problem is when I go to the grid and select a row in JQgrid it looses focus and scrolls back to the top where new graph is generated,
focus when grid is clicked:
and you have to scroll down everytime the graph is changed onSelect of rows.
After selection grid looses focus and starts to focus on the chart:
And it keeps happening when you select a row and it becomes annoying to go back down everytime to select a row. Is there a way to not loose focus when chart is generated. I can't create a JSFiddle as the page is dynamic and have lots of nested code and javascript files attached to it.
The Gif of the issue:-
Jqgrid Config:- jqgrid config pastebin
c3 Config:- c3 chart pastebin