标签: angular ag-grid-angular
使用鼠标单击按钮时无法水平滚动网格 scrollTo
const grid = document.getElementById('myGrid'); 如果(网格){ const gridBody = grid.querySelector('。ag-body-viewport') gridBody.scrollTo(300,0); }