Server side full export of pdf and excel using tabletools
Server side full export of pdf and excel using tabletools
drakula1234
Posts: 58Questions: 1Answers: 0
Allan,
This plugin is wonderful, I really appreciate your help in my previous posts to get the plugin working on client side. I have another question to get this to export full dataset from serverside. I have the plugin download (GET only) in my code. Can I use the sUrl same as the sAjaxSource or will that be different. My controller that is triggered for the sAjaxSource spits out the application/json as the MIME type. Can I use the same controller or should that be a different controller with the MIME type attachment. Also, how to pass the serverside processing parameters.
This plugin is wonderful, I really appreciate your help in my previous posts to get the plugin working on client side. I have another question to get this to export full dataset from serverside. I have the plugin download (GET only) in my code. Can I use the sUrl same as the sAjaxSource or will that be different. My controller that is triggered for the sAjaxSource spits out the application/json as the MIME type. Can I use the same controller or should that be a different controller with the MIME type attachment. Also, how to pass the serverside processing parameters.
This discussion has been closed.
Replies
To be honest I don't see the point of using TableTools for client-side export with server-side processing, since you might as well just switch to client-side processing. It will be much easier and you need to load the full data set anyway.
Allan
You need to write the script that will create the file and then download it :-). I don't actually have an example of that, but there are plenty around the web, and plenty of libraries to help create such files, such as the ones you suggest.
Allan
Allan