当我将表导出到csv时,浮点数用小数点“。”分隔。 并且在excel中,值会转换为日期,而不是像HTML表格一样保留它们。
有没有办法用小数点逗号替换点“,”
$(function () {
var $table = $('table');
$('.download').click(function(){
$table.trigger('outputTable');
});
$table.tablesorter({
theme: 'blue',
widgets: ['zebra', 'output'],
widgetOptions : { output_delivery : 'd', output_separator : ';'}
});
});