Skip to content

Commit 2cfa0f9

Browse files
fixed conditional formatting applying to nested div instead of table cell
1 parent 4c692e3 commit 2cfa0f9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "LightPivotTable",
33
"author": "ZitRo",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
66
"main": "test/testServer.js",
77
"repository": {

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ PivotView.prototype.renderRawData = function (data) {
10801080
data["conditionalFormatting"],
10811081
(y - info.topHeaderRowsNumber + 1) + "," + (x - info.leftHeaderColumnsNumber + 1),
10821082
rawData[y][x].value,
1083-
div
1083+
td
10841084
);
10851085
}
10861086

test/testServer.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
var express = require("express"),
2-
app = express();
2+
app = express(),
3+
PORT = 81;
34

45
app.use(express.static(__dirname + "/.."));
56

6-
app.listen(81);
7+
app.listen(PORT);
78

8-
console.info("Server ready on port 80.");
9+
console.info("Server ready on port " + PORT + ".");

0 commit comments

Comments
 (0)