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

Method addHeaderRowDef

src/cdk/table/table.ts:812–815  ·  view source on GitHub ↗

Adds a header row definition that was not included as part of the content children.

(headerRowDef: CdkHeaderRowDef)

Source from the content-addressed store, hash-verified

810
811 /** Adds a header row definition that was not included as part of the content children. */
812 addHeaderRowDef(headerRowDef: CdkHeaderRowDef) {
813 this._customHeaderRowDefs.add(headerRowDef);
814 this._headerRowDefChanged = true;
815 }
816
817 /** Removes a header row definition that was not included as part of the content children. */
818 removeHeaderRowDef(headerRowDef: CdkHeaderRowDef) {

Callers 2

ngAfterContentInitMethod · 0.80
ngAfterContentInitMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

ngAfterContentInitMethod · 0.64