Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic