其他分享
首页 > 其他分享> > js导出excel

js导出excel

作者:互联网

资源下载

https://files.cnblogs.com/files/sunr/js%E5%AF%BC%E5%87%BAexcel.zip?t=1662686273

HTML

<script src="./js/jquery.min.js"></script>
<script src="./js/jszip.min.js"></script>
<script src="./js/FileSaver.js"></script>
<script src="./js/excel-gen.js"></script>
<table id="tb"></table>

JavaScript

new ExcelGen({
	"src_id": "tb"
	, "show_header": true
	, "file_name": data.min + '-' + data.max + '_' + data.count + '.xlsx'
}).generate()

标签:files,js%,show,E5%,excel,导出,js,sunr,data
来源: https://www.cnblogs.com/sunr/p/16671579.html