Skip to content

Commit b7c1cbc

Browse files
committed
fix(IgxSummary): pass all params when calc summary container height #6259
1 parent 4153f03 commit b7c1cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/summaries/grid-summary.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class IgxGridSummaryService {
8686
if (!this.grid.data) {return this.summaryHeight = 0; }
8787
let maxSummaryLength = 0;
8888
this.grid.columnList.filter((col) => col.hasSummary && !col.hidden).forEach((column) => {
89-
const getCurrentSummaryColumn = column.summaries.operate([]).length;
89+
const getCurrentSummaryColumn = column.summaries.operate([], [], column.field).length;
9090
if (getCurrentSummaryColumn) {
9191
if (maxSummaryLength < getCurrentSummaryColumn) {
9292
maxSummaryLength = getCurrentSummaryColumn;

0 commit comments

Comments
 (0)