data table in angular code example
Example 1: data table in angular 8 from api
npm install jquery --savenpm install datatables.net --savenpm install datatables.net-dt --savenpm install @types/jquery --save-devnpm install @types/datatables.net --save-dev
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>