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

Method addHeaderRowDef

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

792
793 /** Adds a header row definition that was not included as part of the content children. */
794 addHeaderRowDef(headerRowDef: CdkHeaderRowDef) {
795 this._customHeaderRowDefs.add(headerRowDef);
796 this._headerRowDefChanged = true;
797 }
798
799 /** Removes a header row definition that was not included as part of the content children. */
800 removeHeaderRowDef(headerRowDef: CdkHeaderRowDef) {

Callers 2

ngAfterContentInitMethod · 0.80
ngAfterContentInitMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

ngAfterContentInitMethod · 0.64