FSN#36822 Voor nu de velden omgezet naar tekst zodat de 0 niet weg valt

svn path=/Website/trunk/; revision=31048
This commit is contained in:
2016-10-11 15:10:33 +00:00
parent 6c14b1f8c2
commit 663dd13f7f

View File

@@ -1288,7 +1288,15 @@ function __rsMakeTableRow(oRs, oRsFlexData, cnt, anyMultiActions, noFlexResult)
// Opbouw cell // Opbouw cell
if ((isPrinting || showProperties || isExcel || !columns[i].combine) && !(isExcel && columns[i].hidden)) if ((isPrinting || showProperties || isExcel || !columns[i].combine) && !(isExcel && columns[i].hidden))
appender += "<td" + align + hidden + tooltip + columnClass + customSort + nowrap + ">"; {
appender += "<td" + align + hidden + tooltip + columnClass + customSort + nowrap;
if (isExcel && val != null && val.length > 0 && val.match(/[0-9]/)
&& columns[i].datatype != "date" && columns[i].datatype != "currency" && columns[i].datatype != "datetime")
{
appender += " style='mso-number-format:\"\@\"'";
}
appender += ">" + columns[i].datatype;
}
else else
{ // Combine maar geen <br> voor lege val { // Combine maar geen <br> voor lege val
if (val != '&nbsp;' && val !== '' && colHasVal) if (val != '&nbsp;' && val !== '' && colHasVal)