I am using this code
Step #0
In ts
dataSource: any = new MatTableDataSource()
Step #1
No Data Available 0" *matFooterRowDef="['nodata']">