简体   繁体   中英

jQuery Datatables export to Excel in correct format

How can we export the contents of the jQuery Datatables to proper Excel format? The current implementation only exports to .csv file. Does any one have a demo or working example for this?

More details are the discussion here and here .


If you want to export in excel only format you have to modified the "TableTools.min.js" file. You have to open "TableTools.min.js" file and replace " .csv" with " .xls" word. Then it will work export proper Excel format.

Also if you want download updated "TableTools.min.js" download by below link.

https://drive.google.com/file/d/0B8IHTmhRUyLpcjhnWWpOR3k3dlE/edit?usp=sharing

Thanks & Regards
Deepak Joshi
9899835174

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM