How can I get TableTools CSV button to save the whole paginated dataset to CSV ?

How can I get TableTools CSV button to save the whole paginated dataset to CSV ?

SThornSThorn Posts: 2Questions: 1Answers: 0

Hi,
Can I ask how it might be possible to collect all filtered data (i.e. I've filtered on several columns of my datatable), from all pages of the pagination set, and export it as CSV from datatables ?

I've currently tried TableTools but this only sends the dataset from the currently displayed page ?
Any help is greatly appreciated
Many thanks
Steve Thorn

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,627Questions: 1Answers: 10,090 Site admin
    Answer ✓

    Hi Steve,

    There are a number of discussions about this in the forum if you do a search for "tabletools server-side processing".

    Basically you need to have the server create the CSV file since the full data is not available are the client-side if you are using server-side processing (you don't say you are, and there is no test case, but I assume you are).

    Allan

  • SThornSThorn Posts: 2Questions: 1Answers: 0

    Thank you Allan much appreciated.
    Steve

This discussion has been closed.