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

Method addColumnDef

src/cdk/table/table.ts:774–776  ·  view source on GitHub ↗

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

(columnDef: CdkColumnDef)

Source from the content-addressed store, hash-verified

772
773 /** Adds a column definition that was not included as part of the content children. */
774 addColumnDef(columnDef: CdkColumnDef) {
775 this._customColumnDefs.add(columnDef);
776 }
777
778 /** Removes a column definition that was not included as part of the content children. */
779 removeColumnDef(columnDef: CdkColumnDef) {

Callers 5

ngOnInitMethod · 0.80
ngAfterContentInitMethod · 0.80
ngOnInitMethod · 0.80
ngOnInitMethod · 0.80
ngAfterContentInitMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

ngAfterContentInitMethod · 0.64