aspose file tools *
The moose likes HTML, CSS and JavaScript and the fly likes Data Tables(TableTools) - Export to CSV and PDF is not working jQuery Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Data Tables(TableTools) - Export to CSV and PDF is not working jQuery Javascript" Watch "Data Tables(TableTools) - Export to CSV and PDF is not working jQuery Javascript" New topic
Author

Data Tables(TableTools) - Export to CSV and PDF is not working jQuery Javascript

Chandrasekhar Aadhanapattu
Greenhorn

Joined: Feb 29, 2012
Posts: 16
Hi,

We have to export data using Data Tables to CSV and PDF. Buttons are displayed to export but not getting save dialog box when we click those buttons. I think it is because of, I have one more dialog box using jquery in my same JSP. Following is the code:




Help is appreciable. Save dialog box has to appear when we click on those export buttons.

Thanks,
Chaatna
Chandrasekhar Aadhanapattu
Greenhorn

Joined: Feb 29, 2012
Posts: 16
I am answering my self.

The issue is just the context path of loading the swf(flash) file of Data Tables.

From the below code which is responsible for pagination/filtration, export etc.,



I have just changed a small snippet according to our project context as follows:

From:


To:


That's it. I hope it may be helpful to somebody.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data Tables(TableTools) - Export to CSV and PDF is not working jQuery Javascript