首页 开发技术 Javascript     /    tableExport.js实现前端表格的导出功能(支持中文)及打印

tableExport.js实现前端表格的导出功能(支持中文)及打印

上传者: hgyu_962464 | 上传时间:2024/2/21 8:28:52 | 文件大小:11.28MB | 文件类型:zip
tableExport.js实现前端表格的导出功能(支持中文)及打印
该插件可以将Html的表格导出成为JSON,XML,CSV,TSV,TXT,SQL,Word,Excel,PNG,PDF格式。
在项目上遇到pdf导出中文乱码问题,经过一天的研究修改了一些js代码解决了pdf导出中文乱码问题,随便融入了一个html打印功能的js,有需要的可以下载来看看。

文件下载

资源详情

[{"title":"(37个子文件11.28MB)tableExport.js实现前端表格的导出功能(支持中文)及打印","children":[{"title":"tableExport","children":[{"title":".gitignore <span style='color:#111;'>35B</span>","children":null,"spread":false},{"title":"tableExport.js <span style='color:#111;'>80.81KB</span>","children":null,"spread":false},{"title":"tableExport.min.js <span style='color:#111;'>31.06KB</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>823B</span>","children":null,"spread":false},{"title":"jquery.js <span style='color:#111;'>262.09KB</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"tools","children":[{"title":"minify2.py <span style='color:#111;'>2.85KB</span>","children":null,"spread":false},{"title":"minify3.py <span style='color:#111;'>2.94KB</span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"js-xlsx","children":[{"title":"LICENSE <span style='color:#111;'>967B</span>","children":null,"spread":false},{"title":"xlsx.core.min.js <span style='color:#111;'>410.59KB</span>","children":null,"spread":false}],"spread":true},{"title":"html2canvas","children":[{"title":"html2canvas.min.js <span style='color:#111;'>59.37KB</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.04KB</span>","children":null,"spread":false}],"spread":true},{"title":"pdfmake","children":[{"title":"LICENSE <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"pdfmake.min.js <span style='color:#111;'>1.03MB</span>","children":null,"spread":false},{"title":"vfs_fonts.js <span style='color:#111;'>19.26MB</span>","children":null,"spread":false},{"title":"mirza_fonts.js <span style='color:#111;'>920.10KB</span>","children":null,"spread":false}],"spread":true},{"title":"jsPDF-AutoTable","children":[{"title":"jspdf.plugin.autotable.js <span style='color:#111;'>14.81KB</span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'>1.08KB</span>","children":null,"spread":false}],"spread":true},{"title":"jsPDF","children":[{"title":"jspdf.min.js <span style='color:#111;'>228.90KB</span>","children":null,"spread":false},{"title":"MIT-LICENSE.txt <span style='color:#111;'>1.07KB</span>","children":null,"spread":false}],"spread":true},{"title":"FileSaver","children":[{"title":"FileSaver.min.js <span style='color:#111;'>2.39KB</span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'>1.08KB</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'>9.07KB</span>","children":null,"spread":false},{"title":"bower.json <span style='color:#111;'>689B</span>","children":null,"spread":false},{"title":"jQuery.print.js <span style='color:#111;'>9.50KB</span>","children":null,"spread":false},{"title":"test","children":[{"title":"icons","children":[{"title":"json.png <span style='color:#111;'>5.88KB</span>","children":null,"spread":false},{"title":"txt.png <span style='color:#111;'>2.58KB</span>","children":null,"spread":false},{"title":"xml.png <span style='color:#111;'>2.92KB</span>","children":null,"spread":false},{"title":"png.png <span style='color:#111;'>2.69KB</span>","children":null,"spread":false},{"title":"pdf.png <span style='color:#111;'>2.60KB</span>","children":null,"spread":false},{"title":"csv.png <span style='color:#111;'>3.34KB</span>","children":null,"spread":false},{"title":"word.png <span style='color:#111;'>3.18KB</span>","children":null,"spread":false},{"title":"sql.png <span style='color:#111;'>408B</span>","children":null,"spread":false},{"title":"xls.png <span style='color:#111;'>5.43KB</span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'>19.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"test.html <span style='color:#111;'>8.07KB</span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'>448.38KB</span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • shwbnj:
    很不错,谢谢很不错,谢谢2020-09-22
  • 「已注销」:
    很不错,谢谢很不错,谢谢2020-09-22
  • cuoguo1111:
    首先确定,大多数浏览器可以使用,测试了多种,包括IE,chrome,FF,都可以,唯独遨游浏览器不行。2020-06-10
  • cuoguo1111:
    首先确定,大多数浏览器可以使用,测试了多种,包括IE,chrome,FF,都可以,唯独遨游浏览器不行。2020-06-10
  • m0_37111431:
    不错。一个问题:怎么兼容ie82019-04-22
  • mxy_224:
    不错。一个问题:怎么兼容ie82019-04-22
  • nimakengdieya:
    还可以,不错2019-04-15
  • nimakengdieya:
    还可以,不错2019-04-15
  • hongjiang2012:
    可以使用,类型比较多。2019-03-17
  • hongjiang2012:
    可以使用,类型比较多。2019-03-17

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明