且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我怎样才能获得所有行的ag-grid?

更新时间:2023-02-05 07:39:54

我认为没有这种方法,但是您可以自己制作:

I don't think there is such a method but you can make your own:

getAllRows() {
  let rowData = [];
  this.gridApi.forEachNode(node => rowData.push(node.data));
  return rowData;
}