Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fire an event when ag-grid in Angular is loaded?

Ag-grid in Angular uses showLoadingOverlay() function to show loading bar on grid. How do I know that my angular ag-grid has finished loading?

like image 774
Divyanshi Mangal Avatar asked Nov 15 '25 16:11

Divyanshi Mangal


1 Answers

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

Source

If you can post example of how data is assigned to the grid, might be able to offer a better solution.

like image 88
Alvin Saldanha Avatar answered Nov 17 '25 08:11

Alvin Saldanha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!