We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc495f0 commit 56531a7Copy full SHA for 56531a7
source/js/PivotView.js
@@ -270,7 +270,8 @@ PivotView.prototype.removeDataWait = function () {
270
*/
271
PivotView.prototype.recalculateSizes = function (container) {
272
273
- var containerParent = container.parentNode;
+ var containerParent = container.parentNode,
274
+ DEFAULT_CELL_HEIGHT = 22;
275
276
try {
277
@@ -356,7 +357,7 @@ PivotView.prototype.recalculateSizes = function (container) {
356
357
if (pTableHead.childNodes[i].tagName !== "TR") continue;
358
if (pTableHead.childNodes[i].firstChild) {
359
pTableHead.childNodes[i].firstChild.style.height =
- (columnHeights[i] || 0) + "px";
360
+ (columnHeights[i] || DEFAULT_CELL_HEIGHT) + "px";
361
}
362
363
0 commit comments