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 aa62f00 commit 9f3aa98Copy full SHA for 9f3aa98
src/cdk/table/table.ts
@@ -22,7 +22,6 @@ import {
22
IterableDiffer,
23
IterableDiffers,
24
NgIterable,
25
- NgZone,
26
QueryList,
27
Renderer2,
28
TrackByFunction,
@@ -168,6 +167,7 @@ export class CdkTable<T> implements CollectionViewer {
168
167
ngAfterContentInit() {
169
this._cacheColumnDefinitionsByName();
170
this._columnDefinitions.changes.subscribe(() => this._cacheColumnDefinitionsByName());
+ this._renderHeaderRow();
171
}
172
173
ngAfterContentChecked() {
@@ -221,8 +221,6 @@ export class CdkTable<T> implements CollectionViewer {
221
this._headerRowPlaceholder.viewContainer.clear();
222
this._renderHeaderRow();
223
224
-
225
- this._renderHeaderRow();
226
227
228
/**
0 commit comments