May 2018
Intermediate to advanced
512 pages
11h 3m
English
We have created the scaffolding to lay out our master/detail view. In the master outlet, we will have a paginated data table of users, so let's implement UserTableComponent, which will contain a MatTableDataSource property named dataSource. We will need to be able to fetch user data in bulk using standard pagination controls like pageSize and pagesToSkip and be able to further narrow down the selection with user provided searchText.
Let's start by adding the necessary functionality to the UserService.
src/app/user/user/user.service.ts...export interface IUsers { items: IUser[] total: number}
src/app/user/user/user.service.ts ...
Read now
Unlock full access