FSN#36822 aangepast zodat float & number niet text worden gemaakt
svn path=/Website/trunk/; revision=31125
This commit is contained in:
@@ -1301,8 +1301,9 @@ function __rsMakeTableRow(oRs, oRsFlexData, cnt, anyMultiActions, noFlexResult)
|
|||||||
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;
|
||||||
|
var abbr = columns[i].datatype; // abbreviation
|
||||||
if (isExcel && val != null && val.length > 0 && val.match(/[0-9]/)
|
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:\"\@\"'";
|
appender += " style='mso-number-format:\"\@\"'";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user