We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48f0fb commit 0562bd2Copy full SHA for 0562bd2
projects/igniteui-angular/src/lib/grids/summaries/summary-row.component.ts
@@ -70,15 +70,8 @@ export class IgxSummaryRowComponent implements DoCheck {
70
return this.element.nativeElement;
71
}
72
73
- // TO DO: to be refactored when displayDensity refactoring is merged
74
get gridDensity(): string {
75
- if (this.grid.isCosy()) {
76
- return DisplayDensity.cosy;
77
- } else if (this.grid.isCompact()) {
78
- return DisplayDensity.compact;
79
- } else {
80
- return DisplayDensity.comfortable;
81
- }
+ return this.grid.displayDensity || DisplayDensity.comfortable;
82
83
84
public getColumnSummaries(columnName) {
0 commit comments