501
Views
5
Comments
Solved
[React Web] Pagination with advanced query?
Question

Hi guys,

Has anyone ever implemented pagination with advanced query on a react web application? Currently I'm using data actions, and it is a little odd... I'm just figuring out if there is another way to do this. 

Solution

Hi André,

I already answered the same question in other post with an example in attachment.

Regards,

Marcelo

Thanks for the quickly response, Marcelo. 

I don't wanna put pagination inside the sql... I would prefer a solution more out-of-the-box, but I start thinking this is the only way in fact.


Hi,

From what I found that is your only option for now.

Regards,

Marcelo

The solution that Marcelo previously posted is by far the best and easiest way to implement it!

I think it's possible without additional queries for counting. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.