Apply groupsOnly only when the table is grouped

when you use groupsOnly filament disables pagination.

I want to only enable groupsOnly when I am actually grouping rows so that I get pagination when I am not grouping
Was this page helpful?