We have integrated ag-grid
into our system, and I am facing an issue with displaying the scrollbar in a child window based on the selected row position in ag-grid
. Please refer to the Plunkr link below and click on source_id
which will lead you to an edit page. The requirement is to show the scrollbar matching the highlighted row on the popup screen.
Currently, the scrollbar functions but does not align precisely with the selected/highlighted row in the child window. Any suggestions on how to achieve this functionality using ag-grid
would be greatly appreciated.
Plunkr url
Note: The scroll should automatically adjust to the selected row's position in the 'ag-body-viewport' div class.
Here are the steps to follow:
1) Click on the preview button in the Plunker.
2) Select any source_id in ag-grid.
3) An additional grid will appear in a popup window, highlighting the respective row of the source_id.
4) My question pertains to automatically scrolling the scrollbar in this particular window to match the highlighted/selected row position.