This project was generated with Angular CLI version 9.1.1.
- run
ng add @angular/material
*matHeaderRowDeftakes an array of columns we want to show in the table.matColumnDefproperty on the column is the same as a key in the JSON data object.*matHeaderCellDefhave the text of columns in the table header.#mytableis a template variable used to refeash the data by calling the maethosrendRows()
- Run
ng generate component dialog-box --skipTests=true
- Ref. https://github.com/angular/flex-layout
- Run
npm i -s @angular/flex-layout @angular/cdk - Example demo https://tburleson-layouts-demos.firebaseapp.com/#/docs