Skip to content

Commit f2e2b49

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Re-use existing property from grid - multiRowLayoutRowSize.
1 parent 02701c1 commit f2e2b49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

projects/igniteui-angular/src/lib/grids/row.directive.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ export class IgxRowDirective<T extends IgxGridBaseDirective & GridType> implemen
106106
get rowHeight() {
107107
let height = this.grid.rowHeight || 32;
108108
if (this.grid.hasColumnLayouts) {
109-
const rs = this.columns.map(x => x.gridRowSpan);
110-
const maxRowSpan = Math.max(... rs);
109+
const maxRowSpan = this.grid.multiRowLayoutRowSize;
111110
height = height * maxRowSpan;
112111
}
113112
return this.addRow ? height : null;

0 commit comments

Comments
 (0)