从制表符 xlsx 导出中的列 headers 中删除 <br>
Remove <br> from column headers in tabulator xlsx export
我在浏览器中使用 Tabulator 作为前端 table 框架。我的一些专栏标题很长,并且被 html 换行符 (<br>
).
分隔
当我 download the table data in Excel file format 时,我的列 headers(= 此电子表格导出中的第一行)包含那些 <br>
作为纯文本,例如:Foo<br>bar
.
如何在 excel 导出中删除这些字符?这可能吗?有什么想法吗?
编辑
这里是我 Excel 导出的屏幕截图以供说明:
您可以在此处Download Title下载中指定要替换的标题为:
columns: [
{ title: "Name", field: "name", titleDownload: "Full Name" } //change column title to "Full Name" in download
]
如果你真的想自定义你构建自己的自定义文件格式化程序的东西Custom Format。
我在浏览器中使用 Tabulator 作为前端 table 框架。我的一些专栏标题很长,并且被 html 换行符 (<br>
).
当我 download the table data in Excel file format 时,我的列 headers(= 此电子表格导出中的第一行)包含那些 <br>
作为纯文本,例如:Foo<br>bar
.
如何在 excel 导出中删除这些字符?这可能吗?有什么想法吗?
编辑
这里是我 Excel 导出的屏幕截图以供说明:
您可以在此处Download Title下载中指定要替换的标题为:
columns: [
{ title: "Name", field: "name", titleDownload: "Full Name" } //change column title to "Full Name" in download
]
如果你真的想自定义你构建自己的自定义文件格式化程序的东西Custom Format。