I have table that get data from java code and show that data on web page . Can i export this data in excel format using javascript? What will be the code for that
Asked
Active
Viewed 182 times
1 Answers
0
Javascript does not interact with file Object. it requires aciveX Object that only IE has available.
you need to export it using different third party library like apache POI
Also you can anyhow use wkhtmltopdf that prints exactly same that will be available on HTML page into pdf
shreyansh jogi
- 2,082
- 12
- 20
-
possible duplicate http://stackoverflow.com/questions/15567086/generate-excel-sheet-from-html-tables-using-jquery – Satish Sharma Dec 06 '13 at 05:48
-
I have jquery data table to display table on page. So how i can export this using java? – Rahul Dec 06 '13 at 05:55
-
search for wkhtmltopdf online – shreyansh jogi Dec 06 '13 at 06:38