I have a custom API that allows filtering by multiple columns simultaneously. The problem is that in my table, I can only sort by one column. Column A sorts correctly, but if I sort by Column B, Column A loses its sorting.
I’ve read about setSort
or sortBy
, but it’s not entirely clear. I need to add three sort
parameters and send the values for each column along with their respective asc
or desc
order. How can I do this? Thank you!