@@ -546,7 +546,8 @@ PivotView.prototype.recalculateSizes = function (container) {
546
546
tTableHead . childNodes [ 0 ] . appendChild ( tr ) ;
547
547
} ;
548
548
549
- headerContainer . style . width = headerW + "px" ;
549
+ topHeader . style . marginLeft = headerW + "px" ;
550
+ //return;
550
551
//console.log(lTableHead.offsetHeight, pTableHead.offsetHeight, bodyHeight, this.SCROLLBAR_WIDTH);
551
552
if ( hasVerticalScrollBar && tTableHead . childNodes [ 0 ] ) {
552
553
applyExtraTopHeadCell ( ) ;
@@ -576,13 +577,19 @@ PivotView.prototype.recalculateSizes = function (container) {
576
577
if ( mainHeaderWidth > headerW ) leftHeader . style . width = mainHeaderWidth + "px" ;
577
578
tableBlock . style . height = containerHeight - headerH - pagedHeight + "px" ;
578
579
headerContainer . style . height = headerH + "px" ;
580
+ headerContainer . style . width = headerW + "px" ;
579
581
580
- for ( i in container [ "_primaryRows" ] ) {
581
- container [ "_primaryRows" ] [ i ] . style . height = columnHeights [ i ] + "px" ;
582
- }
583
- for ( i in container [ "_primaryColumns" ] ) {
584
- container [ "_primaryColumns" ] [ i ] . style . width = cellWidths [ i ] + "px" ;
585
- }
582
+ // @TEST beta.13
583
+ //for (i in container["_primaryRows"]) {
584
+ // container["_primaryRows"][i].style.height = columnHeights[i] + "px";
585
+ //}
586
+ //for (i in container["_primaryColumns"]) {
587
+ // container["_primaryColumns"][i].style.width = cellWidths[i] + "px";
588
+ //}
589
+
590
+ //console.log(cellWidths);
591
+ //containerParent.appendChild(container); // attach
592
+ //return;
586
593
587
594
if ( addEggs ) { // horScroll?
588
595
tr = document . createElement ( "tr" ) ;
0 commit comments