Skip to content

Commit 6ccc1ec

Browse files
Tooltips support for columns/rows header.
1 parent ca20b0b commit 6ccc1ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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.4.9",
4+
"version": "1.4.10",
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,9 @@ PivotView.prototype.renderRawData = function (data) {
11331133
tr.appendChild(
11341134
th = document.createElement(rawData[y][x].isCaption ? "th" : "td")
11351135
);
1136+
if (rawData[y][x].source && rawData[y][x].source.title) {
1137+
th.setAttribute("title", rawData[y][x].source.title);
1138+
}
11361139
div = document.createElement("div");
11371140
if (rawData[y][x].value) {
11381141
div.textContent = rawData[y][x].value;

0 commit comments

Comments
 (0)