tableExport.jquery.plugin
tableExport.jquery.plugin copied to clipboard
Output sometimes appears in the same browser window.
Hello, nice work on this plugin. I noticed that some of the output types, like PDF for instance, appear within the same browser window. This can be confusing to some users who do not realize they need to hit the back button to get back to the page. They may close the window instead.
Could you modify the plugin so the output always appears in a new browser window?
Thanks for your feedback and i'll update to you once it is done.
I didnt get it, it has been done? I got the same issue, but not sometimes always.
i correct, only with PDF is exporting in the same window.
By the way, excellent plug in.
HAVE YOU UPDATEd?
Hi,
I repair this modifing tableExport.js line 333:
doc.output('datauri');
with:
var buffer = doc.output(); window.open('data:application/'+defaults.type+';filename=exportData;base64,' + Base64.encode(buffer));