客户要求能导出多sheet的excel,这样就不用人工combine了。google一下,找到了一些solution。最后用了ActiveXObject的方案。原理是先把数据存在table里,再把table的数据装入excel。
要在Internet Options里把SecurityCustom level的Initialize and script ActiveX controls not marked as safe for scripting设为Prompt/Enable。
同时客户端要装excel:)    

Javascript在客户端导出multi-sheet excelfunction ExportToExcel()
      }

相关文章:

  • 2021-07-04
  • 2022-12-23
  • 2021-11-12
  • 2022-03-04
  • 2021-11-12
  • 2022-02-17
  • 2021-08-30
  • 2021-11-23
猜你喜欢
  • 2021-12-28
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案