MCPcopy Create free account
hub / github.com/angular/components / _forceRenderFooterRows

Method _forceRenderFooterRows

src/cdk/table/table.ts:1294–1302  ·  view source on GitHub ↗

* Clears any existing content in the footer row outlet and creates a new embedded view * in the outlet using the footer row definition.

()

Source from the content-addressed store, hash-verified

1292 * in the outlet using the footer row definition.
1293 */
1294 private _forceRenderFooterRows() {
1295 // Clear the footer row outlet if any content exists.
1296 if (this._footerRowOutlet.viewContainer.length > 0) {
1297 this._footerRowOutlet.viewContainer.clear();
1298 }
1299
1300 this._footerRowDefs.forEach((def, i) => this._renderRow(this._footerRowOutlet, def, i));
1301 this.updateStickyFooterRowStyles();
1302 }
1303
1304 /** Adds the sticky column styles for the rows according to the columns' stick states. */
1305 private _addStickyColumnStyles(rows: HTMLElement[], rowDef: BaseRowDef) {

Callers 2

_renderMethod · 0.95
_renderUpdatedColumnsMethod · 0.95

Calls 3

_renderRowMethod · 0.95
clearMethod · 0.65

Tested by

no test coverage detected