Search code examples
javascriptag-grid

How to get filtered rows in ag-grid?


I have an ag-Grid with filtering option.

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


Solution

  • 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.