File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " LightPivotTable" ,
3
3
"author" : " ZitRo" ,
4
- "version" : " 1.8.0 " ,
4
+ "version" : " 1.8.1 " ,
5
5
"description" : " A lightweight pivot table for MDX2JSON source for InterSystems Cache" ,
6
6
"main" : " test/testServer.js" ,
7
7
"repository" : {
Original file line number Diff line number Diff line change @@ -1340,17 +1340,16 @@ PivotView.prototype.renderRawData = function (data) {
1340
1340
1341
1341
// top left header setup
1342
1342
header . textContent = info . leftHeaderColumnsNumber ? rawData [ 0 ] [ 0 ] . value : "" ;
1343
- if ( rawData [ 0 ] [ 0 ] . style ) header . setAttribute ( "style" , rawData [ 0 ] [ 0 ] . style ) ;
1343
+ if ( rawData [ 0 ] [ 0 ] . style && ! LISTING ) header . setAttribute ( "style" , rawData [ 0 ] [ 0 ] . style ) ;
1344
1344
if ( this . tablesStack . length > 1 && ! this . controller . CONFIG [ "hideButtons" ] ) {
1345
1345
header . className += "back " ;
1346
1346
header . addEventListener ( CLICK_EVENT , function ( e ) {
1347
1347
_ . _backClickHandler . call ( _ , e ) ;
1348
1348
} ) ;
1349
1349
}
1350
- if ( info . leftHeaderColumnsNumber > 0
1351
- && _ . controller . CONFIG [ "maxHeaderWidth" ] ) {
1350
+ if ( info . leftHeaderColumnsNumber > 0 && _ . controller . CONFIG [ "maxHeaderWidth" ] ) {
1352
1351
pivotHeader . style . maxWidth =
1353
- _ . controller . CONFIG [ "maxHeaderWidth" ] * info . leftHeaderColumnsNumber + "px" ;
1352
+ _ . controller . CONFIG [ "maxHeaderWidth" ] * info . leftHeaderColumnsNumber + "px" ;
1354
1353
pivotHeader . style . whiteSpace = "normal" ;
1355
1354
pivotHeader . style . wordWrap = "normal" ;
1356
1355
}
You can’t perform that action at this time.
0 commit comments