Skip to content

Commit

Permalink
Tooltips support for columns/rows header.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jan 3, 2016
1 parent ca20b0b commit 6ccc1ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LightPivotTable",
"author": "ZitRo",
"version": "1.4.9",
"version": "1.4.10",
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
"main": "test/testServer.js",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions source/js/PivotView.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,9 @@ PivotView.prototype.renderRawData = function (data) {
tr.appendChild(
th = document.createElement(rawData[y][x].isCaption ? "th" : "td")
);
if (rawData[y][x].source && rawData[y][x].source.title) {
th.setAttribute("title", rawData[y][x].source.title);
}
div = document.createElement("div");
if (rawData[y][x].value) {
div.textContent = rawData[y][x].value;
Expand Down

0 comments on commit 6ccc1ec

Please sign in to comment.