最近在写bootstrap 的导出功能,添加页脚却无法实现页脚的导出。找了许多资料也没找到,于是自己捣鼓了一下,实现了。


bootstrap footerFormatter页脚导出


bootstrap footerFormatter页脚导出bootstrap footerFormatter页脚导出

这样就可以出页脚的效果了

bootstrap footerFormatter页脚导出

导出功能写在了html中

bootstrap footerFormatter页脚导出

许多资料方框中是取下面table 的id(tb_pracAvg),但是取下面的id,页脚就不能导出了,原因是页脚中的内容,他也是一个table,所以,你导出只取上面的一个table。就不能导出页脚的table啦,所以我这是在一个div下,取2个table,就可以一块导出了

bootstrap footerFormatter页脚导出

导出结果就可以啦

bootstrap footerFormatter页脚导出

相关文章:

  • 2021-05-31
  • 2021-11-09
  • 2021-09-05
  • 2022-12-23
  • 2021-05-21
  • 2021-08-06
  • 2021-08-15
  • 2021-06-27
猜你喜欢
  • 2021-07-22
  • 2021-08-09
  • 2021-07-05
  • 2021-12-14
  • 2021-07-11
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案