MCPcopy Index your code
hub / github.com/angular/components / _renderCellTemplateForItem

Method _renderCellTemplateForItem

src/cdk/table/table.ts:1376–1384  ·  view source on GitHub ↗
(rowDef: BaseRowDef, context: RowContext<T>)

Source from the content-addressed store, hash-verified

1374 }
1375
1376 private _renderCellTemplateForItem(rowDef: BaseRowDef, context: RowContext<T>) {
1377 for (let cellTemplate of this._getCellTemplates(rowDef)) {
1378 if (CdkCellOutlet.mostRecentCellOutlet) {
1379 CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cellTemplate, context);
1380 }
1381 }
1382
1383 this._changeDetectorRef.markForCheck();
1384 }
1385
1386 /**
1387 * Updates the index-related context for each row to reflect any changes in the index of the rows,

Callers 2

renderRowsMethod · 0.95
_renderRowMethod · 0.95

Calls 2

_getCellTemplatesMethod · 0.95
markForCheckMethod · 0.80

Tested by

no test coverage detected