Search code examples
jquerydatatablestabletools

Why DataTable TableTools export to pdf or excel or csv is not working with Private Browser?


I am working with TableTools,which is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable. Key features include:

  • Copy to clipboard
  • Save table data as CSV, XLS or PDF files
  • Print view for clean printing
  • Row selection options
  • Easy use predefined buttons
  • Simple customisation of buttons
  • Well defined API for advanced control

which is a quick adaptable and codable flash based plugin.This is working fine for me.

Even I here tried all possible export ways and fulfilling all the requirements of mine.

The Issue what i am facing here is this export to file.x is not working to me in Private browser(incognito) instances, it is not able to save the file at the destination.

For quick reference you can try this example .

Can any one suggest me how to achieve this,if it is not possible what is the reason behind it?

  1. My Sample Page Reference.

enter image description here

  1. Copy & Print view is working.

enter image description here enter image description here

  1. Even it is prompting to show destination path for saving , but it is not saving.

enter image description here

Any Suggestion will be highly appreciable Thanks in advance!


Solution

  • It is a bug in Chrome; I can replicate it in Chromium 49, even though the Flash download still works in Firefox or IE11. Considering it is a Chrome bug it might be hard to fix without deeper knowledge of Chrome and (Pepper) Flash, follow the Issue on the Chromium bugtracker.

    I would consider switching to the Buttons extension (that means upgrading to DataTables 1.10) and use HTML5 Export which will work with Chrome. For reference, the DataTable 1.10 version also can't save through flash on Chrome.