I'm trying to get the value a user types as input of a filter with AG grid, like in a simple input with onChange function.
i tried onFilterChanged, but couldn't catch the value.
<div style={containerStyle}>
<div style={gridStyle} className="ag-theme-alpine">
<AgGridReact
rowData={all.flat().reverse()}
columnDefs={columnDefs}
groupIncludeFooter={true}
groupIncludeTotalFooter={true}
defaultColDef={defaultColDef}
animateRows={true}
onFilterChanged={(e: any) =>
console.log("filter has changed", e)
}
></AgGridReact>
</div>
</div>
thanks for your help.