Custom server side requests
Custom server side requests
Hi,
I'm using DataTables with server-side processing, I want to export the current list of entries (all sites, which the client doesn't see at this moment) by generating a csv file and offering it for download. Exported entries should be the same as the DataTable shows, e.g. same sorting, filtering, etc. On the api-side I would need all the parameters of the DataTable like they are sent on initialization or on fnDraw(). Is there a way to double this request, so I can just add another GET-parameter to it and let it return the csv file for download?
PS: I'm using DataTables 1.9.4 and jQuery 1.9.1
Kind regards peipst
I'm using DataTables with server-side processing, I want to export the current list of entries (all sites, which the client doesn't see at this moment) by generating a csv file and offering it for download. Exported entries should be the same as the DataTable shows, e.g. same sorting, filtering, etc. On the api-side I would need all the parameters of the DataTable like they are sent on initialization or on fnDraw(). Is there a way to double this request, so I can just add another GET-parameter to it and let it return the csv file for download?
PS: I'm using DataTables 1.9.4 and jQuery 1.9.1
Kind regards peipst
This discussion has been closed.
Replies