如何使用angular5中的特定格式将内容导出为Excel?

时间:2018-11-13 07:15:11

标签: javascript angular angular5 export-to-excel

我的组件中有一个html,结果看起来像这样:

Min : __________            Max : ____________
Avg : __________

// Here tabel starts just beneath these lines in the same component

Time   |  S-4
 11:00 |  32
 11:05 |  24
 11:10 |  25

我尝试了json2csv和其他软件包,但它们仅允许json导出为CSV。 如何使用angular5以相同格式将此内容导出到excel文件?

0 个答案:

没有答案