File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7277,9 +7277,10 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
72777277 columnsArray = this . getSelectableColumnsAt ( each ) ;
72787278 columnsArray . forEach ( ( col ) => {
72797279 if ( col ) {
7280- const key = headers ? col . header || col . field : col . field ;
7280+ const key = ! this . isPivot && headers ? col . header || col . field : col . field ;
72817281 const rowData = source [ row ] . ghostRecord ? source [ row ] . recordRef : source [ row ] ;
7282- const value = resolveNestedPath ( rowData , col . field ) ;
7282+ const value = this . isPivot ? rowData . aggregationValues . get ( col . field )
7283+ : resolveNestedPath ( rowData , col . field ) ;
72837284 record [ key ] = formatters && col . formatter ? col . formatter ( value , rowData ) : value ;
72847285 if ( columnData ) {
72857286 if ( ! record [ key ] ) {
You can’t perform that action at this time.
0 commit comments