Mat-sort nie działa w dynamicznie generowanej tabeli
@ViewChild(MatSort, {static: false})
set sort(value: MatSort) {
this.dataSource.sort = value;
}
Vast Vicuña
@ViewChild(MatSort, {static: false})
set sort(value: MatSort) {
this.dataSource.sort = value;
}