Skip to content

Commit 308b795

Browse files
committed
fix(grid-base): calculateRowCount only on columns setup
1 parent fad42cb commit 308b795

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3977,7 +3977,6 @@ export abstract class IgxGridBaseDirective implements GridType,
39773977
this._shouldRecalcRowHeight = false;
39783978
this.updateDefaultRowHeight();
39793979
}
3980-
this._calculateRowCount();
39813980
this.dataChanged.emit(event);
39823981
}
39833982

@@ -4131,7 +4130,6 @@ export abstract class IgxGridBaseDirective implements GridType,
41314130
if (this.hasColumnsToAutosize) {
41324131
this.autoSizeColumnsInView();
41334132
}
4134-
this._calculateRowCount();
41354133
this._rendered = true;
41364134
});
41374135
Promise.resolve().then(() => this.rendered.next(true));

0 commit comments

Comments
 (0)