Hi
How the below line works. Columns are passed to common Angular Material Table component.
buttons: this._common.getActionButton(this.btnEditClick,this.btnDeleteClick,Function())
this.columns = [ { title: "Id", name: "Id" , visible: true }, { title: "Description", name: "description" , visible: true }, { title: "Action", name: 'actions', visible: true, buttons: this._common.getActionButton(this.btnEditClick,this.btnDeleteClick,Function()) }
Thanks