File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -512,9 +512,13 @@ PivotView.prototype.renderRawData = function (data) {
512512 td . className += " formatLeft" ;
513513 td . textContent = rawData [ y ] [ x ] . value || "" ;
514514 } else { // number
515- td . textContent = rawData [ y ] [ x ] . value ? this . numeral ( rawData [ y ] [ x ] . value ) . format (
516- columnProps [ x - info . leftHeaderColumnsNumber ] . format || ""
517- ) : "" ;
515+ if ( columnProps [ x - info . leftHeaderColumnsNumber ] . format ) {
516+ td . textContent = rawData [ y ] [ x ] . value ? this . numeral ( rawData [ y ] [ x ] . value ) . format (
517+ columnProps [ x - info . leftHeaderColumnsNumber ] . format
518+ ) : "" ;
519+ } else {
520+ td . textContent = rawData [ y ] [ x ] . value || "" ;
521+ }
518522 }
519523 if ( rawData [ y ] [ x ] . style ) td . setAttribute ( "style" , rawData [ y ] [ x ] . style ) ;
520524
You can’t perform that action at this time.
0 commit comments