How to return the rows filtered after use a filter?

Tags: #<Tag:0x00007efc65706300> #<Tag:0x00007efc65705ec8>

I need to know which rows are visible after using column filters. CountVisibleRows or CountRenderedRows do not work for this need. Is there any other method or way to get this information?

Hi @jonatas.locateli

You can use countRows method inside afterFilter hook to get the visible rows after the filtering:

https://jsfiddle.net/handsoncode/gtx05b18/

Is this what you need?

Hi, @adrian.szymanski.
Perfect, it was exactly what I needed. Thanks.

@jonatas.locateli

I’m glad that I could help. I’m closing this topic as solved.