unique-blueU
Refineโ€ข4y agoโ€ข
6 replies
unique-blue

Question about fetching paginated table data for a .csv export

Hey @Omer , another question if I may.

I have a table which will return quite a few records. The table is paginated for obvious reasons.

My idea was when they click my button => to get the tableQueryResult.data?.data and then iterate over that to create my data to send to the backend to make the .csv file.

Sounds greeat! however in practice, the tableQueryResult.data?.data is only returning the first 50 out of 1500 results.. not the entire resource..

Do i have to create a endpoint to return the unpaginated data .. or can i handle this in refine?

I'm kinda stumped as to what to do here, any advice or ideas would be greatly appreciated!

Thank you!
Was this page helpful?