Currently, I am working with the GridOptions
interface in my project:
As per the API documentation:
https://www.ag-grid.com/javascript-grid-events/
The onFirstDataRendered
event is supposed to be on the interface but it is missing.
In my code, I have imported and used the interface like this:
import { GridOptions } from "ag-grid/main";
private gridOptions: GridOptions = <GridOptions>{};
How should I modify the interface to include the onFirstDataRendered
event?
Update:
The API documentation mentions the following:
To use events with the 'on' prefix, for example gridOptions.onCellClicked.
For instance, gridReady
becomes onGridReady
as seen in this code: