Ag-grid:过滤后如何获取数据?

Ag-grid: how to get data after it's been filtered?

https://github.com/ceolter/ag-grid/issues/972

曾经被上面link解决过。但在 Ag-grid 的 22-MAY-2017 更改日志中,它说“AG-471:所有事件现在都是异步的。afterFilterChanged 事件已删除。”

我们现在如何获取过滤后的数据?

我在 Angular 4 中使用 Ag-grid。

你可以听 filterChanged,它应该会在过滤器数据更新后挂起你