FSN#36822 aangepast zodat float & number niet text worden gemaakt

svn path=/Website/trunk/; revision=31125
This commit is contained in:
2016-10-18 12:42:03 +00:00
parent 3138609600
commit 7f14b81f57

View File

@@ -1301,8 +1301,9 @@ function __rsMakeTableRow(oRs, oRsFlexData, cnt, anyMultiActions, noFlexResult)
if ((isPrinting || showProperties || isExcel || !columns[i].combine) && !(isExcel && columns[i].hidden))
{
appender += "<td" + align + hidden + tooltip + columnClass + customSort + nowrap;
var abbr = columns[i].datatype; // abbreviation
if (isExcel && val != null && val.length > 0 && val.match(/[0-9]/)
&& columns[i].datatype != "date" && columns[i].datatype != "currency" && columns[i].datatype != "datetime")
&& abbr != "date" && abbr != "currency" && abbr != "datetime" && abbr != "float" && abbr != "number")
{
appender += " style='mso-number-format:\"\@\"'";
}