mat paginator not showing code example
Example: settign datasource to paginator only works with setTimeout
@ViewChild(MatSort) set matSort(sort: MatSort) {
this.dataSource.sort = sort;
}
@ViewChild(MatSort) set matSort(sort: MatSort) {
this.dataSource.sort = sort;
}