@@ -7,7 +7,7 @@ import { GridColumnDataType } from '../../data-operations/data-util';
77import { NgTemplateOutlet } from '@angular/common' ;
88import { ISelectionNode } from '../common/types' ;
99import { ColumnType } from '../common/grid.interface' ;
10- import { formatCurrency , formatDate , formatNumber , formatPercent , getCurrencyCode , getCurrencySymbol , trackByIdentity } from '../../core/utils' ;
10+ import { formatCurrency , formatDate , formatNumber , formatPercent , getCurrencyCode , trackByIdentity } from '../../core/utils' ;
1111
1212@Component ( {
1313 changeDetection : ChangeDetectionStrategy . OnPush ,
@@ -112,14 +112,6 @@ export class IgxSummaryCellComponent {
112112 return getCurrencyCode ( this . locale , this . column . pipeArgs . currencyCode ) ;
113113 }
114114
115- /**
116- * @hidden @internal
117- */
118- public get currencySymbol ( ) : string {
119- return this . column . pipeArgs . display ?
120- this . column . pipeArgs . display : getCurrencySymbol ( getCurrencyCode ( this . locale ) , this . locale ) ;
121- }
122-
123115 /** cached single summary res after filter resets collection */
124116 protected trackSummaryResult = trackByIdentity ;
125117
@@ -155,7 +147,7 @@ export class IgxSummaryCellComponent {
155147 case GridColumnDataType . Time :
156148 return formatDate ( summary . summaryResult , args . format , locale , args . timezone ) ;
157149 case GridColumnDataType . Currency :
158- return formatCurrency ( summary . summaryResult , locale , this . currencySymbol , this . currencyCode , args . digitsInfo ) ;
150+ return formatCurrency ( summary . summaryResult , locale , args . display , this . currencyCode , args . digitsInfo ) ;
159151 case GridColumnDataType . Percent :
160152 return formatPercent ( summary . summaryResult , locale , args . digitsInfo ) ;
161153 }
0 commit comments