File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -229,22 +229,22 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
229
229
public loadingGridTemplate : TemplateRef < any > ;
230
230
231
231
/**
232
- * Sets summaryRow height
232
+ * Get/Set summaryRow height
233
233
*/
234
234
@Input ( )
235
235
public set summaryRowHeight ( value : number ) {
236
236
this . _summaryRowHeight = value ;
237
237
this . summaryService . summaryHeight = value ;
238
- // if (value === 0) {
239
- //this.summaryService.calcMaxSummaryHeight();
240
- // }
241
238
if ( ! this . _init ) {
242
239
this . reflow ( ) ;
243
240
}
244
241
}
245
242
246
243
public get summaryRowHeight ( ) : number {
247
- return this . _summaryRowHeight || this . summaryService . summaryHeight ;
244
+ if ( this . hasSummarizedColumns && this . rootSummariesEnabled ) {
245
+ return this . _summaryRowHeight || this . summaryService . calcMaxSummaryHeight ( ) ;
246
+ }
247
+ return 0 ;
248
248
}
249
249
250
250
/**
You can’t perform that action at this time.
0 commit comments