material table code example
Example 1: mat-table style header
mat-table style header
Example 2: mat-header-cell meterial style
const initialSelection = [];
const allowMultiSelect = true;
this.selection = new SelectionModel<MyDataType>(allowMultiSelect, initialSelection);
Example 3: mat-header-cell meterial style
<table mat-table [dataSource]="myDataArray">
...
</table>