I'm using Angular Material and I would like my first column to have a checkbox as well as the value of my name
-property. I dont need this column to be sticky. I appreciate any ideas for this.
Under the following link you can find my stackblitz example: https://stackblitz.com/edit/angular-mat-table-checkbox-select-all-lbspiz?file=main.ts
I have tried to add a row span which did not work out.
First of all I made a working example on stackblitz:
Stackblitz-Example
I basically made the following changes to bring
select
andname
in the same column:The modified part of the TS-File:
The modified part of the HTML-File: