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:
tanshu committed 2020-11-23 10:25:53 +05:30
1 parent 39e3cc51bb
commit af343cb7f9
66 files changed
+556 -328

No files matched your search

@@ -14,8 +14,8 @@ import { StockMovementDataSource } from './stock-movement-datasource';
styleUrls: ['./stock-movement.component.css'],
})
export class StockMovementComponent 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: StockMovementDataSource;
form: FormGroup;
info: StockMovement;