File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chandrasekhar Aadhanapattu
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic