All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
This commit is contained in:
1 parent
39e3cc51bb
commit
af343cb7f9
66 files changed
+556
-328
No files matched your search
@@ -13,8 +13,8 @@ import { CostCentreListDataSource } from './cost-centre-list-datasource';
|
||||
styleUrls: ['./cost-centre-list.component.css'],
|
||||
})
|
||||
export class CostCentreListComponent implements OnInit {
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator?: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort?: MatSort;
|
||||
dataSource: CostCentreListDataSource;
|
||||
list: CostCentre[];
|
||||
/** Columns displayed in the table. Columns IDs can be added, removed, or reordered. */
|
||||
|
||||
Reference in new issue
Block a user