How to get filtered rows in ag-grid?

Gábor Csikós picture Gábor Csikós · Apr 21, 2017 · Viewed 9k times · Source

I have an ag-Grid with filtering option.

How to get the filtered rows (not the selected) in ag-Grid?

Answer

Sean Landsman picture Sean Landsman · Apr 21, 2017

You can use the forEachNodeAfterFilter(callback) api method for this.

See https://www.ag-grid.com/javascript-grid-api for all available API calls, including the various forEachXXX methods.