【发布时间】:2018-12-24 09:05:45
【问题描述】:
我们正在使用ag-grid,我需要根据ag-grid 中选定的行位置在子窗口中显示滚动条。请找到下面的 plunkr 并单击 source_id 这是一个编辑页面,我需要根据窗口弹出屏幕上的选定/突出显示的行显示滚动条。
在我的代码中滚动条正在工作,但它没有根据子窗口中的选定/突出显示的行显示确切的滚动条位置。请提供输入,以便使用ag-grid根据选定/突出显示的行位置在子窗口中显示滚动条。
注意:它必须像 'ag-body-viewport' div 类中的选定行位置一样自动滚动。
按照以下步骤操作:
1)In plunker click on preview button.
2)Click on any source_id in ag-grid.
3)Once click the source_id popup window will be displayed.
4)In popup window another grid will be displayed with highlighted row with respective of source_id.
5)My query is like in this particular window ,how to scroll the scroll bar automatically as per highlighted/selected row postition .
【问题讨论】:
标签: javascript jquery css angularjs ag-grid