From df4b661c85ce42933e8dc99c03fc8f57fd42863a Mon Sep 17 00:00:00 2001 From: ZitRos Date: Mon, 28 Sep 2015 21:50:23 +0300 Subject: [PATCH] listing number formatting turned off as DeepSee does --- package.json | 2 +- source/js/PivotView.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dc9d372..67c3b23 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "LightPivotTable", "author": "ZitRo", - "version": "1.2.13", + "version": "1.3.0", "description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache", "main": "test/testServer.js", "repository": { diff --git a/source/js/PivotView.js b/source/js/PivotView.js index a96a383..b82957b 100644 --- a/source/js/PivotView.js +++ b/source/js/PivotView.js @@ -904,7 +904,7 @@ PivotView.prototype.renderRawData = function (data) { + "' target='_blank' onclick='var e=event||window.event;e.stopPropagation();e.cancelBubble=true;'>" + p + ""; }); - } else { // number + } else if (!LISTING) { // number if (format) { // set format element.textContent = value ? _.numeral(value).format(format) : ""; } else if (value) { @@ -914,6 +914,8 @@ PivotView.prototype.renderRawData = function (data) { } else { element.textContent = value || ""; } + } else { + element.textContent = value; } };