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
1 Answer
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
3 Comments
Satish Sharma
possible duplicate stackoverflow.com/questions/15567086/…
Rahul
I have jquery data table to display table on page. So how i can export this using java?
shreyansh jogi
search for wkhtmltopdf online