Frontend Table to Excel Export

Add-ons
2026-07-21 12:36 8 次浏览 • 0 次下载 1.0KB
Frontend Table to Excel Export

Usage

Include jQuery and table2excel on the page.

1
2
<script src="jquery.min.js"></script>
<script src="jquery.table2excel.min.js"></script>

Using the Plugin

1
2
3
4
5
6
$("#yourHtmTable").table2excel({
exclude: ".excludeThisClass",
name: "Worksheet Name",
filename: "SomeFile.xls", // Whether to include the file extension
preserveColors: false // Set to true to preserve background and font colors
});


星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare