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

Method addColumnDef

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

790
791 /** Adds a column definition that was not included as part of the content children. */
792 addColumnDef(columnDef: CdkColumnDef) {
793 this._customColumnDefs.add(columnDef);
794 }
795
796 /** Removes a column definition that was not included as part of the content children. */
797 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