dry-scarletD
Refine12mo ago
9 replies
dry-scarlet

Multiple filterable tables in the same page

Is it even possible to have multiple filterable tables in the same screen? I am using next.js with refine and antd. And I need to have sometimes combine tables. When I filter something on one table, the url filters will be replaced if I do it in another one.
For example this is url while filtering first table

/combined-tables?pageSize=10&current=1&filters[0][field]=name&filters[0][operator]=in&filters[0][value][0]=laptop

And then the second table

/combined-tables?pageSize=10&current=1&filters[0][field]=name&filters[0][operator]=in&filters[0][value][0]=jane

So, no merged filters.
But another problem here is that they both uses different resources. So I would say they need to have a prefix before filters
Was this page helpful?