报表增加csv文件导出.

This commit is contained in:
zhangwenqing
2018-12-21 20:35:45 +08:00
parent 6bf9e5508b
commit 6510258f41
2 changed files with 33 additions and 5 deletions

View File

@@ -247,6 +247,7 @@
if ($(val).is(emptyCSS)) {
return " "
}
titleText=$cols.is("th")?"\t"+titleText:titleText;
return '"' + TableExport.prototype.formatValue(isTrimWhitespace, titleText.replace(/"/g, '""')) + '"';
}).get().join(colD);
}).get().join(rdel),