Plugin - TableTools Download only gets current view

Plugin - TableTools Download only gets current view

jurgenskrausejurgenskrause Posts: 3Questions: 2Answers: 0

I am using server side processing to get my data, how can I get the csv/pdf functions to download the entire result set, and not just the items in the current view?

Answers

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin

    The whole point of server-side processing is that only the data needed for the current view is shown at the client-side. TableTools, being a client-side tool, can therefore only work with that data.

    If you want to export the data from the whole table, you would need to make an Ajax request to get the data - although at that point you are as well just getting the server to generate the file and download it.

    Allan

This discussion has been closed.