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

Method _forceRenderFooterRows

src/cdk/table/table.ts:1276–1284  ·  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

1274 * in the outlet using the footer row definition.
1275 */
1276 private _forceRenderFooterRows() {
1277 // Clear the footer row outlet if any content exists.
1278 if (this._footerRowOutlet.viewContainer.length > 0) {
1279 this._footerRowOutlet.viewContainer.clear();
1280 }
1281
1282 this._footerRowDefs.forEach((def, i) => this._renderRow(this._footerRowOutlet, def, i));
1283 this.updateStickyFooterRowStyles();
1284 }
1285
1286 /** Adds the sticky column styles for the rows according to the columns' stick states. */
1287 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