File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,7 @@ DataController.prototype.resetRawData = function () {
281281 || ( data [ "info" ] || { } ) [ "cubeName" ]
282282 || ""
283283 } ;
284+ applyHeaderStyle ( rawData [ y ] [ x ] , false ) ;
284285 } else {
285286 rawData [ y ] [ x ] = rd1 [ y - xh ] [ x ] ;
286287 }
@@ -350,7 +351,8 @@ DataController.prototype.resetRawData = function () {
350351 isCaption : true ,
351352 source : { } ,
352353 value : navigator . language === "ru" ? "Всего" : "Total"
353- }
354+ } ;
355+ applyHeaderStyle ( summary [ i ] , false ) ;
354356 } else {
355357 summary [ i ] = {
356358 value : getTotalFunction ( parseInt ( i ) - data . info . leftHeaderColumnsNumber )
Original file line number Diff line number Diff line change @@ -476,6 +476,7 @@ PivotView.prototype.renderRawData = function (data) {
476476
477477 // fill header
478478 header . textContent = info . leftHeaderColumnsNumber ? rawData [ 0 ] [ 0 ] . value : "" ;
479+ if ( rawData [ 0 ] [ 0 ] . style ) header . setAttribute ( "style" , rawData [ 0 ] [ 0 ] . style ) ;
479480 if ( this . tablesStack . length > 1 && ! this . controller . CONFIG [ "hideButtons" ] ) {
480481 header . className += "back " ;
481482 header . addEventListener ( CLICK_EVENT , function ( e ) {
You can’t perform that action at this time.
0 commit comments