When you do a query, it might be handy to filter the data further by applying the custom function to the result set. Obviously, this will break pagination, as this custom function has to be applied on the client-side, and unless it is applied to all data there is no way to say whether there is more data or not.
But what has to be done for sure is trying to fill the page size with the data, i.e. if the page size is 100, and it might require a couple of actual data iterations before filtered page size is filled.
When you do a query, it might be handy to filter the data further by applying the custom function to the result set. Obviously, this will break pagination, as this custom function has to be applied on the client-side, and unless it is applied to all data there is no way to say whether there is more data or not.
But what has to be done for sure is trying to fill the page size with the data, i.e. if the page size is 100, and it might require a couple of actual data iterations before filtered page size is filled.