如何在加载 Angular 中的 ag-grid 时触发事件?
How to fire an event when ag-grid in Angular is loaded?
Angular 中的 Ag-grid 使用 showLoadingOverlay() 函数在网格上显示加载栏。我怎么知道我的 angular ag-grid 已经完成加载?
gridReady
should fire when the data has been set if using
gridOptions.rowData
. If you're using api.setRowData
you'll need to use
rowDataChanged
instead
如果您可以 post 如何将数据分配给网格的示例,也许能够提供更好的解决方案。
Angular 中的 Ag-grid 使用 showLoadingOverlay() 函数在网格上显示加载栏。我怎么知道我的 angular ag-grid 已经完成加载?
gridReady
should fire when the data has been set if usinggridOptions.rowData
. If you're usingapi.setRowData
you'll need to userowDataChanged
instead
如果您可以 post 如何将数据分配给网格的示例,也许能够提供更好的解决方案。